Skip to content
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

FastCGI / PHP error whenever I try to import from Pocket #367

Open
willthong opened this issue Aug 23, 2023 · 0 comments
Open

FastCGI / PHP error whenever I try to import from Pocket #367

willthong opened this issue Aug 23, 2023 · 0 comments

Comments

@willthong
Copy link

willthong commented Aug 23, 2023

Environment

  • Version: 2.6.4
  • Installation: docker-compose (see below)
  • PHP version: N/A
  • OS: Debian
  • Database: SQLite
  • Parameters: docker-compose (see below)
Import from Pocket. I get this error:
*53 FastCGI sent in stderr: "PHP message: PHP Warning:  file_put_contents(/var/www/wallabag/data/site-credentials-secret-key.txt): Failed to open stream: Permission denied in /var/www/wallabag/src/Wallabag/CoreBundle/Helper/CryptoProxy.php on line 26PHP message: PHP Warning:  chmod(): No such file or directory in /var/www/wallabag/src/Wallabag/CoreBundle/Helper/CryptoProxy.php on line 27PHP message: PHP Warning:  file_get_contents(/var/www/wallabag/data/site-credentials-secret-key.txt): Failed to open stream: No such file or directory in /var/www/wallabag/src/Wallabag/CoreBundle/Helper/CryptoProxy.php on line 30" while reading response header from upstream, client: <client IP>, server: _, request: "GET /quickstart HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "<my host url>", referrer: "<my host url>/quickstart"

This is my docker-compose.yml:

version: '3'
services:
  wallabag:
    image: wallabag/wallabag
    environment:
      - SYMFONY__ENV__DATABASE_DRIVER=pdo_sqlite
      - SYMFONY__ENV__DATABASE_TABLE_PREFIX="wallabag_"
      - SYMFONY__ENV__MAILER_DSN=smtp://127.0.0.1
      - SYMFONY__ENV__FROM_EMAIL=wallabag@example.com
      - SYMFONY__ENV__DOMAIN_NAME=<my domain>
      - SYMFONY__ENV__SERVER_NAME="Will's Wallabag"
    ports:
      - 8395:80
    volumes:
      - /AppData2/Wallabag/images:/var/www/wallabag/web/assets/images
      - /AppData2/Wallabag/data:/var/www/wallabag/data
    healthcheck:
      test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost"]
      interval: 1m
      timeout: 3s
    depends_on:
      - redis
  redis:
    image: redis:alpine
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 20s
      timeout: 3s

Any help appreciated - thank you!

What steps will reproduce the bug?

@j0k3r j0k3r transferred this issue from wallabag/wallabag Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant