M3 §4/7: the log-tailing command produces no output
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 1
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
From beta feedback by @yard-mschwartz (2026-08-10 batch).
This commando doesn't work for me, because there is no log:
tail -f workspace/server/data/nextcloud.log | python3 -m json.tool. I did set debug mode and log level correctly.
PHP Track > M3 Backend Fundamentals > Section 4/7, Exercise.
He reports having set debug mode and log level as instructed, so this is very likely ours, not his setup. Things to check when picking this up:
- Whether the log path is right for the
nextcloud-docker-devlayout the course uses — the file may not be atworkspace/server/data/nextcloud.logat all, or may not exist until something has actually been logged. - Whether
| python3 -m json.toolis even correct: it expects one complete JSON document on stdin, whilenextcloud.logis newline-delimited JSON, one object per line. Piping atail -fstream into it will not pretty-print line by line the way the text implies. - Whether the exercise should instead point at
occ log:tail/occ log:watch, which avoids the path question entirely.
Fix should include a real, verified command and a note on what to do when the file is empty (i.e. trigger a request first).
Contributor 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.
Research direction
Locate the M3 Backend Fundamentals Section 4/7 exercise text and reproduce the command in the nextcloud-docker-dev layout. Verify the log location and newline-delimited format, trigger a request when the file is empty, and document a command that produces readable entries with the required empty-file guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, php, python
- Domain
- backend, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100