Cron image not running when the instance has not been initalized
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, docker-compose, mariadb, nginx, shell
- Domain
- devops, infrastructure
Research direction
Start with cron.sh and the Docker Compose setup, then reproduce the startup sequence with an uninitialized Friendica instance. Check how the cron container handles the “Friendica isn't properly installed yet” condition. Done means the container remains running before initialization and starts the Friendica daemon after basic configuration.
Written by the indexing model from the issue text.
Description
Durig updating the images for 2025.07 (rc) I realized the following behaviour:
Setting up a friendice instance with docker-compose including a mariadb, one friendica container for the app and a second one for cron jobs (starting with cron.sh) plus a nginx.
The cron container keeps exiting with the message:
cron_1 | [Error] Friendica isn't properly installed yet
test2_cron_1 exited with code 0
After setting up basic configuration the cron container messaged
cron_1 | Starting Friendica daemon
and kept running.
I see this behaviour annoying (at least for new users) and suggest that the cron container shall keep running after start.
@nupplaphil, what is your opinion to this?
- Dominant language
- Shell
- Stars
- 70
- Forks
- 27
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 1
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No 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 friendica/docker
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
Every endpoint 404s.Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in friendica/docker
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
raetha/wyzesense2mqtt#116 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
catppuccin/tmux#608 ·
-
area:linux source:reader type:content-error
Difficulty 1/5 Under an hour Newbie friendliness 72/100
stephrobert/blog-roadmap#185 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day