friendica / friendica/docker

docker install can't run workers at all

Open
#189 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Shell
Stars
68
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Running cron.sh, php bin/worker.php or php bin/daemon.php does nothing in a docker container.

The daemon.php always returns Friendica isn't properly installed yet.

worker.php isn't running the jobs as the admin page logs that the worker process has never run.

Is this thing stuck in some kind of install tag process? daemon.php seems to be checking DI::mode() -> isInstall()) and failing, but I can't seem to trace what it's checking that fails.

This is being run inside a shell in the app container within docker that is running a functional (I think) install that lets me login and upload images and whatnot.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the behavior inside the app container by running cron.sh, php bin/worker.php, and php bin/daemon.php, then inspect the daemon.php check around DI::mode()->isInstall() and the admin page worker log. Done means daemon.php no longer reports that Friendica is uninstalled, worker.php runs jobs, and the admin page records a worker run.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php, shell
Domain
backend, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.