-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redis-server fails to start after nextcloud install #3291
Comments
journalctl -xe outputs
|
Hi, |
below is the output for
|
@dankerthrone pls can you check if you have a directory Should looks like this
|
So obviously for some reason I didn't have a log file for redis to write to, so Unfortunately, since the directory didn't exist, I couldn't use nano to create a file there. Did that via PCManFM, then tried above command again.
|
So I guess technically this issue can be closed now, although I wonder why I ran into this error in the first place. Thanks for your help, @Joulinar! |
@dankerthrone
|
The output for that is
|
Ok the service is running with the correct user. Can you check who is owning the redis log dir? |
+ DietPi-Software | Redis: Disable file logging and enable syslog instead, which resolves reported startup issues in cases as well: #3291 + DietPi-Software | Skip unhold packages on uninstall, since G_AGP uses "--allow-change-held-packages" + DietPi-Software | Remove obsolete Jessie code
Resolved with: 0a7bf0a This was a problem in the past on Debian Jessie already: The native APT package failed somehow to pre-create the logging dir and file that is used by default, hence it's doomed to fail. I could not replicate on Stretch/Buster/Bullseye but file logging is anyway nothing really useful here: Often the systemd unit fails for some reason already, then the log file does not give any related hint but To resolve hence:
If one insists in file logging, skip/revert the above and instead do:
|
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
and after installing nextcloud from the repositories tries to start them back up again:
Extra details:
Additional logs:
systemctl status redis-server.service
then print out:The text was updated successfully, but these errors were encountered: