Skip to content

Issues first login #71

@vncloudsco

Description

@vncloudsco

We have received some feedback about not being able to log in after installation and I created this issue to clarify the information:

1: We do not prevent users from logging in, after successful installation, the system will display the login link information for users. You need to pay attention to accessing the correct link provided by the software. If you do not access the correct link provided by the software, please use Nginx WAF Desktop Client to log in and use their features equivalent to the web version and you will not encounter the login error anymore. In addition, if you still deliberately do not follow the instructions, we cannot support you. If you want to customize the information, please use the docker version or modify the application's env. You need to pay attention to the following values

apps/web/.env

VITE_API_URL=http://localhost:3001/api

apps/api/.env

CORS_ORIGIN="http://localhost:8080,http://localhost:5173,http://YOUR_PUBLIC_IP:8080"

After changing it to your local lan IP, run the command to rebuild the source code.
Note: If you edit the env folder, run the build command in that folder.

cd apps/api && pnpm build
cd apps/api && pnpm build

finally restart them everything will be fine

sudo systemctl restart nginx-love-backend
sudo systemctl restart nginx-love-frontend

Note: If you can't update we can't help you either.

2: You cannot access the port after installation, please check the NAT on your network, this problem is completely due to your network and firewall, not a software error.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions