404 - not found on web app

Hey folks, I’m self hosting Ente on my home server and everything’s going great (things work as it should, I was able to increase the storage limit from 10gb, etc). The ONLY thing I cannot figure out is why my main web app keeps showing 404 - Not found error. /login and /gallery all work fine. I can log in and do all the things I need to. It’s just the index that’s showing an error. It wasn’t always like this and I must have tweaked something to break it. Any ideas?
No description
9 Replies
Ducky
Ducky4w ago
If you're encountering a 404 error on the main web app index page while self-hosting Ente, but other routes like /login and /gallery are working, it may be a configuration issue. When setting up the file server, ensure it is configured to serve the index page correctly. Using Caddy, the Caddyfile should include the following configuration:
:3000 {
root * /var/www/ente/apps/out/photos
file_server
try_files {path} {path}.html /index.html
}
:3000 {
root * /var/www/ente/apps/out/photos
file_server
try_files {path} {path}.html /index.html
}
This configuration ensures that when a user accesses the root URL, the server will look for the index.html file. The web application for Ente Photos should be accessible at http://localhost:3000. You can find more information on configuring the web application at https://help.ente.io/self-hosting/installation/manual#step-3-configure-web-application and about default ports at https://help.ente.io/self-hosting/installation/env-var#ports. -# If your issue is resolved, feel free to use the /solved command to close this thread. If you'd like to ask me another question use /docsearch
Manual setup (without Docker) - Self-hosting | Ente Help
Installing and setting up Ente without Docker
Environment variables and defaults - Self-hosting | Ente Help
Information about all the configuration variables needed to run Ente along with description on default configuration
Kabii
Kabii4w ago
what port are you using?
Kathy
KathyOP4w ago
Using 9090
Kabii
Kabii4w ago
try 3000 or 3004
Kathy
KathyOP3w ago
Unfortunately that didn’t work
Kabii
Kabii3w ago
DM me
Kathy
KathyOP3w ago
Sent you a friend request
Kabii
Kabii2w ago
/closed
Ducky
Ducky2w ago
Thread marked as solved. It will be closed in <t:1761280365:R>. This thread is now closed.

Did you find this page helpful?