FastCGI / PHP error whenever I try to import from Pocket
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, docker-compose, php, sqlite
- Domain
- backend, infrastructure
Research direction
Start with src/Wallabag/CoreBundle/Helper/CryptoProxy.php, especially the reported lines, and review the mounted /var/www/wallabag/data volume in docker-compose.yml. Reproduce a Pocket import with the supplied configuration and inspect the container's data-directory permissions. Done means the import completes without the FastCGI permission and missing-file errors.
Written by the indexing model from the issue text.
Description
Environment
- Version: 2.6.4
- Installation: docker-compose (see below)
- PHP version: N/A
- OS: Debian
- Database: SQLite
- Parameters: docker-compose (see below)
*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
- [email protected]
- 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?
- 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
-
Awaiting response
Difficulty 4/5 3-5 days Newbie friendliness 32/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
bug raised-by:verifier
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
medici-finance/assay#4008 ·
Maintainers usually reply within 1 day
-
bug: `curl NAME` exports an unquoted, uninterpolated command that is not runnablePossibly taken @dannyward630 claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
yunaremaia/git-api#61 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
cloudflare/skills#247 ·
Maintainers usually reply within 1 day
-
Update nwg-panel to 0.12.3Possibly taken @zen0bit claimed this today. Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day