Comments (12)
It looks like the backend server can't connect to the db, because it can't execute the command in the entrypoint.sh to create the admin user. Maybe it is a linking issue within the Synology Os? I would try updating the Synology docker add-on and trying it again. Do you use other services that are linked with docker-compose?
No Problem! :D
from librephotos.
just checked db and redis
admin@NAS:~$ sudo docker logs librephotos-db
PostgreSQL Database directory appears to contain a database; Skipping initialization
2020-12-10 08:20:38.517 UTC [1] LOG: starting PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2020-12-10 08:20:38.519 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2020-12-10 08:20:38.519 UTC [1] LOG: listening on IPv6 address "::", port 5432
2020-12-10 08:20:38.636 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-12-10 08:20:38.643 UTC [25] LOG: database system was shut down at 2020-12-10 08:20:36 UTC
2020-12-10 08:20:38.654 UTC [1] LOG: database system is ready to accept connections
admin@NAS:~$ sudo docker logs librephotos-redis
1:C 10 Dec 2020 08:20:37.796 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 10 Dec 2020 08:20:37.797 # Redis version=6.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 10 Dec 2020 08:20:37.797 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 10 Dec 2020 08:20:37.799 * Running mode=standalone, port=6379.
1:M 10 Dec 2020 08:20:37.799 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 10 Dec 2020 08:20:37.799 # Server initialized
1:M 10 Dec 2020 08:20:37.799 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 10 Dec 2020 08:20:37.800 * Loading RDB produced by version 6.0.9
1:M 10 Dec 2020 08:20:37.800 * RDB age 3 seconds
1:M 10 Dec 2020 08:20:37.800 * RDB memory usage when created 0.77 Mb
1:M 10 Dec 2020 08:20:37.800 * DB loaded from disk: 0.000 seconds
1:M 10 Dec 2020 08:20:37.800 * Ready to accept connections
seems to work fine.
docker and compose are the "latest" versions from synology. but they are old...
admin@NAS:~$ sudo docker -v
Docker version 18.09.8, build bfed4f5
admin@NAS:~$ sudo docker-compose -v
docker-compose version 1.24.0, build 0aa59064
I was able to manual update the binaries to the real latest ones. I will give a try later.
from librephotos.
Okay it seems to be an old issue: hooram/ownphotos#10
Will push an update soon. It is wrong in the dockerfile.
from librephotos.
I created a new image. Please do a docker-compose pull and then a docker-compose up. It should work now. If it does close the issue :)
from librephotos.
Seems to work. I was able to login and browse through the frontend. 👍
But the Backend does not scan photos. My volumes are
- /volume3/docker/librephotos/photos:/data
- /volume3/docker/librephotos/media:/code/protected_media
- /volume3/docker/librephotos/logs:/code/logs
I put some photos to the photos folder und click on:
backend-log show on click:
127.0.0.1 - - [2020-12-10 20:58:51] "POST /build/ HTTP/1.1" 200 139 0.001794
I checked the permissions. The Backend is allowed to access his /data folder and change the files inside it.
from librephotos.
You need to log in as the demo user and set up the directory for the demo user. To do this, click the top right button, and go to "Admin Area". On this page, it will show a list of users. Set the "Scan Directory" for the demo user by clicking the editing button:
After that you can go to Dashboard - Library and click the green "Scan photos (file system)" button.
from librephotos.
now it works!
sorry for my mistake. i thought i had scanned the entire interface for settings. 😄
from librephotos.
do you need some help with docs?
like "how to add a folder to scan to"? 😄
or how to install librephotos on a Synology NAS?
from librephotos.
Yes that would be great! Open a pull request or write me on discord if you have some docs :)
from librephotos.
First I don't know if this question has been closed, however yesterday when installing librephotos docker it presented the same error. No
connection to backend server, try again in a few minutes.
from librephotos.
You probably missed the step renaming librephotos.env to .env
from librephotos.
Você provavelmente perdeu a etapa de renomeação de librephotos.env para .env
I ran the process of copying librephotos.env to .env and changed the folder variables and nothing. I don't know where I saw that the user is admin and the password is admin and that it could be changed in the .env but in the env there is nothing mentioning the user and password of the interface
from librephotos.
Related Issues (20)
- Faces: Create option to Tag and filter faces -i.e. "Family" "Work" etc
- Picture details allows to edit a person tag or untag, but not to delete the face
- Faces Dashboard: Slow reponses when tagging faces HOT 3
- Heavyweight Processes cannot be set to value lower than 4 HOT 1
- Image viewer full screen option, same as video player
- "similar images" not clickable HOT 1
- Return if photo was uploaded but not yet processed HOT 13
- Database Initialization Fails on Unraid with Docker Compose HOT 2
- Docker - On first boot LibrePhotos does not load setup | Cannot sign in at logon screen HOT 6
- Streamline dedup process as part of the photo scan HOT 4
- Map places markers in wrong locations HOT 7
- External Authentification Openid Connect
- Delete from trash after n days
- Faces tagging in Firefox: Detail: Invalid Page when tagging faces
- Add release/environment details to Admin page for easy bug reporting HOT 1
- The "Scan Photos" task in my LibrePhotos installation does not complete and appears to hang indefinitely. HOT 4
- Title: Feature Request: Duplicate File Detection and Deletion
- Crash when requesting summary of hidden photo HOT 1
- Adding ETag support for /api/albums/date/list/ endpoints HOT 2
- German Tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librephotos.