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

On test login to http://localhost:3000/home - This page could not be found. #4505

Open
vistar opened this issue Nov 28, 2024 · 4 comments
Open

Comments

@vistar
Copy link

vistar commented Nov 28, 2024

With this manual:

  1. Login with the test account
    During database setup docker compose creates an account [email protected], password: demo_password.

And error in console:

omnivore-api               | [ioredis] Unhandled error event: Error: connect ENOENT %27redis://redis:6379%27
omnivore-api               |     at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
omnivore-api               |     at PipeConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
@Podginator
Copy link
Contributor

You have your redis in quotes.

'redis://redis:6379'
remove the quotes.

@omerdn1
Copy link

omerdn1 commented Jan 1, 2025

@Podginator That fixes the redis error but the home page is still unavailable.

@omerdn1
Copy link

omerdn1 commented Jan 1, 2025

@Podginator Routes are available if you add /l/* - e.g: localhost:3000/l/home
But then links are broken

@Podginator
Copy link
Contributor

Yes, the config on the main branch writes an empty object to the next js file. If you’re trying to self host I’d look at the self hosting branch, where this has been changed slightly. Basically you need to ensure that the next.js config files are included. These automatically redirect /home to /l/home etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants