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
Unraid Community Application Database Errors #627
Comments
Just setup today with no issues, Unraid 6.10.3 via community apps ... it took forever and tapped out my initial docker image size first before it actually installed. |
I'm having exactly the same error |
same error here :( |
I have the same problem and I'm trying a few things to resolve it, but I'm going to throw this out there. I think the initial set up takes a long time. Like, more than a few minutes. In adding LibrePhotos to unRAID the process of downloading, verifying, extracting, etc etc took a long time. I reloaded the page instead of waiting for it to finish. I dug into the contents of the Docker image and found that the initialization script "install-librephotos.sh" took 10-15 minutes to run. It's doing a lot, so the est I can suggest is to restart LibrePhotos in unRAID and wait a good 15-20 min before trying to log in. And be sure to check the logs in unRAID. That will have some clues. |
Followup: I removed and reinstalled librephotos in my unRAID and after leaving it for a good 12 hours, it showed this:
According to this, it never finished installing. And even though I told it not to start, it was running with the same error reported at the top of this ticket. |
I got it to work for me by doing the following:
After doing that all of my errors are gone and it picks up all the pictures in my photos folder. |
The install-script is not used on startup. We only use it for building the image. Most issues seem to be that the database does not start up fast enough for the backend. If you have an idea, you should look into this instead. |
I am commenting months later on this ticket because it's still ongoing and I have run out of patience beating my head up againast it. I've restarted my docker container a dozen times and every time I get the plethora of errors. I did what @bighill2000 said above and that completely failed with Why is it so hard to create the database tables? Isn't it easy to check if they do exist and create them if they don't? is there some other script I can call from the console? I want to use Librephotos, I want to like it, but this is bordering on the ridiculous. (I also tried installing in a VM and that also failed for approximately the same reasons) |
@cajunjoel If you want to look into this, the code for that is here: https://github.com/LibrePhotos/librephotos-linux This repository installs the components of LibrePhotos as systemd services:
The general idea is that the installation script gets called on build time and the entrypoint.sh get called when you start the actual container. I hope it helps you find your issues a bit quicker. Looking forward to your pull requests :) |
Same problem also occurs if I use this guide https://docs.librephotos.com/1/manual_debian_install/ |
Had the same issue on recent version of Unraid |
+1, same issue. It seems that there's some issue with the singleton docker image; behavior on Unraid vs. other Docker hosts should be agnostic. Specifically, migrations aren't being (successfully) run. |
Confirmed that the same issue occurs outside of Unraid when just using the singleton image directly on a local docker setup. |
Same issue here. First time I've ever run in a real problem with a Docker container on UNRAID that couldn't be quickly resolved. |
Are there any additional setup steps required for the Unraid container (anything with .env or additional parameters)? Mine installs and starts up fine, but does not take me to the initial setup page. I get the following errors.
Is the database internal to the container, or do I need to be pointing it at a postgres db? Also, it looks like the |
Based on the docker-compose, it looks like you need the |
The singleton container does not get any updates at the moment. The issues are twofold:
I did not officially sunset it yet, as I want to provide a clear path forward, to implement both off these options again. Sadly, I did not find the time to research all of the options yet. The current image still does work for some users, while others report this issue here, which I could not reproduce. |
Thanks for the update! I went ahead and pursued docker compose only to run into a database error there as well. Enabling hard links on Unraid got me past that issue and ended up allowing the singleton image based app to work as well. Fair warning it messed some other things up, and I've since reverted. So only do that if you know what you're doing. But it might explain why it works for some and not others. |
π Bug Report
log
filesπ Description of issue:
After installing the Unraid Community Application the Frontend starts but is unable to get user information from the database. The database appears to be empty (e.g. not containing any tables). This results in being unable to login, without any visible error on the page, but with errors in the logs and browser console.
Logs: logs.zip
π How can we reproduce it:
Please provide additional information:
DIGEST:sha256:e15ede7cbfe4568b2090d9d99a15fee95960e825f3d73b5e11fc7990ddf14702
The text was updated successfully, but these errors were encountered: