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

Wont connect to database #1

Open
rlargett opened this issue Jul 30, 2018 · 4 comments
Open

Wont connect to database #1

rlargett opened this issue Jul 30, 2018 · 4 comments

Comments

@rlargett
Copy link

Hello, Im getting a database connection error.

Error: Unable to recover database connection (more than five retries): Redis connection to 127.0.0.1:3001 failed - connect ECONNREFUSED 127.0.0.1:6379

I've downloaded the repo, ran npm install, and then npm start. I can get the dashboard to come up at localhost:3000 and Add Book. but when I go to the Books page or try to upload a book I get the above error. Do I need to install and run Redis locally? Im on windows 10.

Thanks

@Radiergummi
Copy link
Collaborator

Hi @rlargett, yes, kiosk requires redis to run locally. This might prove to be a little complicated on Windows; I'd rather suggest using something like a Raspberry Pi or a virtual machine running some flavor of Linux.
I thought about rewriting kiosk with i18n support and a filesystem based indexing system, but I'm afraid it will take a while until I manage to make some time for that...

@rlargett
Copy link
Author

Ok, thanks @Radiergummi. Maybe I'll try the virtual machine. I also found this that I might try: https://github.com/ServiceStack/redis-windows.

Yah, I completely understand about making time for things.

Thanks!

@Radiergummi
Copy link
Collaborator

As a heads-up, this actually brought me to kiosk again, and I've just started porting everything to a PHP backend. Might take a while, but I'll make sure to let you know once I'm finished.

@rlargett
Copy link
Author

Awesome! Sounds good, thanks!

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

2 participants