Paywall: error 500 when I add a website
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
Start by reproducing the website addition in the supplied Docker Compose deployment and inspect the container error output, then compare the behavior with #3477. Check the presence and permissions of data/site-credentials-secret-key.txt; done means adding a website no longer returns HTTP 500 on the reported MariaDB/Redis setup.
Written by the indexing model from the issue text.
Description
Version: 2.6.14
Installation: Installed to Docker on both Synology and UGreen NAS, with Portainer.
PHP version: NSP
OS: Synology DSM 7 / UGreen OS
Database: MariaDB (the one install with the standard deployment script)
Parameters:
services:
wallabag:
image: wallabag/wallabag
container_name: Wallabag
restart: on-failure:5
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=wallapass
- SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
- SYMFONY__ENV__DOMAIN_NAME=http://xxx.xxx.xxx.xxx:6749
- SYMFONY__ENV__SERVER_NAME=xxxxxxxxx
- SYMFONY__ENV__FOSUSER_CONFIRMATION=false
- SYMFONY__ENV__FOSUSER_REGISTRATION=true
- SYMFONY__ENV__TWOFACTOR_AUTH=true
ports:
- 6749:80
volumes:
- /volume1/docker/wallabag/images:/var/www/wallabag/web/assets/images:rw
- /volume1/docker/wallabag/data:/var/www/wallabag/data:rw
depends_on:
- db
- redis
db:
image: mariadb:11.4-noble #LTS Long Time Support Until May 29, 2029.
container_name: Wallabag-DB
restart: always
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- TZ=Europe/Paris
volumes:
- /volume1/docker/wallabag/db:/var/lib/mysql:rw
redis:
image: redis:alpine
container_name: Wallabag-REDIS
healthcheck:
test: ["CMD-SHELL", "redis-cli ping || exit 1"]
volumes:
- /volume1/docker/wallabag/redis:/data:rw
restart: on-failure:5
I tried to fix permissions error (chmod 664) but still the same. (I follow explanation given for the similar issue "Paywall: error 500 when I add a website wallabag/wallabag#3477" reported as "closed").
NB : the file "site-credentials-secret-key.txt" wasn't created during program installation nor after having activated the paywall parameter (set to '1'). I created myself with command line and ensure it was then created in data directory.
- Dominant language
- Shell
- Stars
- 771
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wallabag/docker
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Awaiting response
Difficulty 4/5 3-5 days Newbie friendliness 32/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
koalaman/shellcheck#3593 ·
-
Link Checker ReportOpenautomated issue report
Difficulty 1/5 Under an hour Newbie friendliness 78/100
a2aproject/A2A#2381 ·
Maintainers usually reply within 3 days
-
e2e-failure ready-to-code
Difficulty 1/5 Under an hour Newbie friendliness 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · 1 comment ·
Maintainers usually reply within 1 day
-
DSH /pwf-status reports no plan when PLAN_ID is requiredPossibly taken @kuei51307-hub claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OthmanAdi/planning-with-files#332 · 1 reaction ·
Maintainers usually reply within 1 day