Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to access login page #2120

Closed
jameswill opened this issue Dec 28, 2023 · 7 comments
Closed

Not able to access login page #2120

jameswill opened this issue Dec 28, 2023 · 7 comments
Labels
Not an Issue/Wont fix This is not an issue

Comments

@jameswill
Copy link

Hi,

I have tried installing latest package of Lychee i.e. 5.0.x and I am not able to see the login page.

On further debugging I found that the new livewire configuration is enabled by default and it is restricting the login page. When I set "LIVEWIRE_ENABLED=false" in .env file the login page loads properly.

Is there any chance where the setting is disabled by default ? So that everyone can access the login page. ?

@ildyria
Copy link
Member

ildyria commented Dec 28, 2023

Is there any chance where the setting is disabled by default ? So that everyone can access the login page. ?

To put it bluntly: I'm sorry but No. If you Lychee is properly set up, the login page is working fine.
If you are not able to access it, it is most likely due to your configuration being incorrect: e.g. working behind a reverse proxy and not having set-up APP_URL.

The old front-end (LIVEWIRE_ENABLED=false) is no longer going to be developed. It is currently provided as a fallback so that users can still be able to do their configuration while having something working, but no new functionalities will be added to it.

There is one edge case when serving Lychee from a directory with alias which is not supported, but it is on the things I plan to have a look later.

@ildyria ildyria closed this as not planned Won't fix, can't repro, duplicate, stale Dec 28, 2023
@ildyria ildyria added the Not an Issue/Wont fix This is not an issue label Dec 28, 2023
@jameswill
Copy link
Author

HI,

I need further information.

Do we need to configure anything specific for livewire setting? Because I have filled APP_URL and Database details in installation form and it does not load the login page.

image

I am using PHP 8.2 and Mysql 5.7

@ildyria
Copy link
Member

ildyria commented Dec 29, 2023

Are you trying to access Lychee from a subfolder ?

@jameswill
Copy link
Author

yes. Its a sub directory installation.

@ildyria
Copy link
Member

ildyria commented Dec 29, 2023

To put it shortly, this is not supported (yet) by Lychee v5.

@jameswill
Copy link
Author

I have tried in root directory as well and getting the same error.

I am on a shared hosting environment. Does v5 supports shared hosting environment ?

@ildyria
Copy link
Member

ildyria commented Dec 29, 2023

I have tried in root directory as well and getting the same error.

What do you mean?

Lychee support shared hosting as long as your domain name points to the public folder. e.g. :

https://lychee.example.com => /path-to-lychee/public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not an Issue/Wont fix This is not an issue
Projects
None yet
Development

No branches or pull requests

2 participants