Closed bielej closed 10 months ago
I've figured it out.
It's Serve Uploads From
fault.
When filled with a valid domain name (in my case img.example.com
) it breaks all the links.
Leaving it blank solves the issue.
Still, it looks like a bug to me.
Yeah, this is intended. If the Serve Uploads From
option is set then chibisafe will no longer serve the files and it would be up to you to serve them via other means (nginx, caddy, apache, etc.) on the domain you specify.
This should probably be made clearer.
We just updated the wording for the setting in hopes it's not confusing any more https://github.com/chibisafe/chibisafe/commit/385a1cf30b5f67d808877352fb66a5d03a211968
As for the zombie processes, I'm not sure where to even begin checking what could be the issue if it actually is one. No unusual memory usage or cpu from those processes I assume?
Thanks for changing the wording, now it's clear.
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 10011 0.0 0.0 0 0 ? Zs Aug11 0:00 \_ [node] <defunct>
root 10188 0.0 0.0 0 0 ? Zs Aug11 0:00 \_ [node] <defunct>
root 10267 0.0 0.0 0 0 ? Zs Aug11 0:00 \_ [node] <defunct>
Yup, zero resources usage.
Thank you for reporting this, we'll keep an eye on it and check if it becomes a problem or at the very least determine why it happens.
Describe the bug I have noticed that I have 4 zombie processes. After checking
ps
it was clear that these processes are from Chibisafe Docker container. I have decided to restart the container usingdocker stop chibisafe
anddocker start chibisafe
. Later that day I have discovered that all file URLs from Chibisafe won't work anymore.but:
Uploading images works fine, but the newly uploaded image still does not have a thumbnail and the permalink returns a 404.
To Reproduce Steps to reproduce the behavior:
Expected behavior I would like to be able to restart the container without unforeseen consequences.
Screenshots
Additional context Latest, manual build from master.
docker-compose.yml
Startup log:
All files are there (with proper owner/group/chmod), the database is there: