You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I uploaded the complete installation package(shaarli-v0.13.0-full) to the server, but when I tried to install Shaarli using the domain name, I encountered a 404 error, which is very confusing.
After accessing the domain name, I noticed that the address bar redirected to mydomain.com/install, but displayed a 404 Not Found error from nginx. I searched almost the entire internet and couldn't find a similar case to mine. Could you please provide some assistance? Thank you.
I used the AMH server panel for installation, which is quite popular and comes pre-configured with the server environment. I have already set up the permissions as per the official documentation.
The text was updated successfully, but these errors were encountered:
Please paste your web server/virtualhost configuration (and/or ensure all necessary configuration directives are set).
Hi, thanks for your reply and answer.
I have now re-installed using docker, which is very fast!
However, now that the website is running successfully, a new problem has arisen, although I followed the official documentation step by step without missing any steps. However, I found that when I visit my domain name https://mydomain.com, the website can be opened normally, but when I visit https://www.mydomain.com, it cannot be opened, and the browser prompts ERR_TOO_MANY_REDIRECTS.
To solve this problem, I tried the following operations, but none of them worked:
Open the /root/shaarli/.nev file and check the domain name configuration. It seems that there is no problem. The host name is only configured with mydomain.com
Edit the label of the shaarli_shaarli_1 container directly in the portainer panel and confirm that the values of traefik.domain and traefik.frontend.rule are only mydomain.com instead of www.mydomain.com
Check the domain name resolution record and confirm that only two A records (www and @) are configured, and there are no redundant records.
Confirm that nginix is not installed to rule out conflicts in this regard.
Confirm that the cookies of the local browser have been deleted, and multiple browsers and networks have been changed.
Try to restart the entire server, restart [shaarli_shaarli_1] and shaarli_traefik_1 containers.
Confirm that /root/.nev is empty, and only /root/shaarli/.nev is configured
None of the above attempts solves the problem that www.mydomain.com cannot be accessed. The browser still prompts ERR_TOO_MANY_REDIRECTS.
This makes me very confused. I hope the official can give some help. Thank you!
Attached is the content of the /root/shaarli/.nev file:
SHAARLI_VIRTUAL_HOST=mydomain.com
SHAARLI_LETSENCRYPT_EMAIL=[email protected]
SHAARLI_DOCKER_TAG=latest
Hello, I uploaded the complete installation package(shaarli-v0.13.0-full) to the server, but when I tried to install Shaarli using the domain name, I encountered a 404 error, which is very confusing.
After accessing the domain name, I noticed that the address bar redirected to mydomain.com/install, but displayed a 404 Not Found error from nginx. I searched almost the entire internet and couldn't find a similar case to mine. Could you please provide some assistance? Thank you.
I used the AMH server panel for installation, which is quite popular and comes pre-configured with the server environment. I have already set up the permissions as per the official documentation.
The text was updated successfully, but these errors were encountered: