Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Paywall: error 500 when I add a website

Open
#469 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, docker-compose, mariadb, php, redis

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

Awaiting response

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wallabag/docker

All issues in wallabag/docker

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.