Help me to upgrade #4490
|
Hi I'm struck at version 7.0.1 (docker/sqlite). here's my compose: services:
lychee:
image: lycheeorg/lychee:v7.0.1
container_name: lychee
ports:
- 8083:8000
# Security hardening
security_opt:
- no-new-privileges:true
- seccomp:unconfined
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
- NET_BIND_SERVICE
read_only: false # Laravel needs write access to storage/cache
tmpfs:
- /tmp:noexec,nosuid,nodev,size=100m
volumes:
- /srv/lychee/uploads:/app/public/uploads
- /srv/lychee/storage/app:/app/storage/app
- /srv/lychee/logs:/app/storage/logs
- /srv/lychee/tmp:/app/storage/tmp
- /srv/lychee/conf/.env:/app/.env
- /srv/lychee/conf/database.sqlite:/app/database/database.sqlite
networks:
- lychee
environment:
- PHP_TZ=Europe/Rome
- TIMEZONE=Europe/Rome
- TZ=Europe/Rome
- DB_CONNECTION=sqlite
- PGID=1000
- PUID=1000
- STARTUP_DELAY=10
- ADMIN_USER=admin
- ADMIN_PASSWORD=xxxxxxxxxxxx
- AUTHELIA_CLIENT_ID="lychee"
- AUTHELIA_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- AUTHELIA_BASE_URL="xxxxxxxxxxxxxxxxxxxxx"
- AUTHELIA_REDIRECT_URI=/auth/authelia/redirect
- DISABLE_WEBAUTHN=true
- DISABLE_BASIC_AUTH=true
restart: always
networks:
lychee:So, please, can you help me? |
Replies: 1 comment
|
Don't try to go to 7.0.1, go directly to 7.6.4. The early versions of 7.0, 7.1 and 7.2 had some issues with the PUID GUID which is probably why it is not working.
Given that you have Also here is why you don't want to stay on any versions below 7.6.4: |
Don't try to go to 7.0.1, go directly to 7.6.4.
The early versions of 7.0, 7.1 and 7.2 had some issues with the PUID GUID which is probably why it is not working.
- /srv/lychee/storage/app:/app/storage/appis not necessary.- /srv/lychee/conf/.env:/app/.envif you put the value in your.envin theenvsection of your docker compose you don't need the.envfile anymore.Given that you have
PGID=1000andPUID=1000you will need to make sure that your database file, and upload folders are read/writable. If you have lots of pictures, you may want to skip the check withSKIP_PERMISSIONS_CHECKS: "yes"(note that this requires that you have properly set the access rights).Also here is why you d…