Job for redis-server.service failed because the control process exited with error code.
See "systemctl status redis-server.service" and "journalctl -xe" for details.
I thank wholeheartedly in advance whoever will be able to give me a hand troubleshoot this!!
@edo0
Many thanks for your report. Please paste the output of:
journalctl -u redis-server
Thanks to you Micha! Here is the report
root@TheBox:~# journalctl -u redis-server
-- Logs begin at Thu 2016-11-03 18:16:42 CET, end at Sat 2020-03-21 17:06:54 CET
. --
Mar 21 15:45:22 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:22 TheBox run-parts[780]: run-parts: executing /etc/redis/redis-ser
ver.pre-up.d/00_example
Mar 21 15:45:22 TheBox systemd[1]: redis-server.service: Control process
exited, code=exited status=1
Mar 21 15:45:22 TheBox systemd[1]: Failed to start Advanced key-value st
ore.
Mar 21 15:45:22 TheBox systemd[1]: redis-server.service: Unit entered fa
iled state.
Mar 21 15:45:22 TheBox systemd[1]: redis-server.service: Failed with res
ult 'exit-code'.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Service hold-off time o
ver, scheduling restart.
Mar 21 15:45:23 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:23 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:23 TheBox run-parts[821]: run-parts: executing /etc/redis/redis-ser
ver.pre-up.d/00_example
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Control process
exited, code=exited status=1
Mar 21 15:45:23 TheBox systemd[1]: Failed to start Advanced key-value st
ore.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:23 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:23 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:24 TheBox redis-server[844]: *** FATAL CONFIG FILE ERROR ***
Mar 21 15:45:24 TheBox redis-server[844]: Reading the configuration file, at line 1053
Mar 21 15:45:24 TheBox redis-server[844]: >>> 'always-show-logo no'
Mar 21 15:45:24 TheBox redis-server[844]: Bad directive or wrong number of arguments
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:24 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:24 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:24 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:24 TheBox run-parts[938]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:24 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:25 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:25 TheBox run-parts[954]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:25 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:25 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Start request repeated too quickly.
Mar 21 15:45:25 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:25 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Start request repeated too quickly.
Mar 21 15:45:25 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:49 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:49 TheBox run-parts[6139]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:50 TheBox redis-server[6144]: *** FATAL CONFIG FILE ERROR ***
Mar 21 15:50:50 TheBox redis-server[6144]: Reading the configuration file, at line 1053
Mar 21 15:50:50 TheBox redis-server[6144]: >>> 'always-show-logo no'
Mar 21 15:50:50 TheBox redis-server[6144]: Bad directive or wrong number of arguments
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:50 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:50 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:50 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:50 TheBox run-parts[6158]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:50 TheBox redis-server[6162]: *** FATAL CONFIG FILE ERROR ***
Mar 21 15:50:50 TheBox redis-server[6162]: Reading the configuration file, at line 1053
Mar 21 15:50:50 TheBox redis-server[6162]: >>> 'always-show-logo no'
Mar 21 15:50:50 TheBox redis-server[6162]: Bad directive or wrong number of arguments
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:50 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:51 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:51 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:51 TheBox run-parts[6166]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:51 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:51 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:51 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:51 TheBox run-parts[6174]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:52 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:52 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:52 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:52 TheBox run-parts[6182]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:53 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Start request repeated too quickly.
Mar 21 15:50:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
@edo0
Hmm, the logs are not helpful please try to reinstall it:
apt purge redis-server
rm -Rf /etc/redis
apt install redis-server
G_CONFIG_INJECT 'loglevel[[:blank:]]' 'loglevel warning' /etc/redis/redis.conf
G_CONFIG_INJECT 'logfile[[:blank:]]' 'logfile ""' /etc/redis/redis.conf
G_CONFIG_INJECT 'syslog-enabled[[:blank:]]' 'syslog-enabled yes' /etc/redis/redis.conf
G_CONFIG_INJECT 'always-show-logo[[:blank:]]' 'always-show-logo no' /etc/redis/redis.conf
G_CONFIG_INJECT 'unixsocket[[:blank:]]' 'unixsocket /run/redis/redis-server.sock' /etc/redis/redis.conf
G_CONFIG_INJECT 'unixsocketperm[[:blank:]]' 'unixsocketperm 770' /etc/redis/redis.conf
usermod -aG redis www-data
The same issue presented itself again (bug report, omitted since identical)
During removal, this message appeared, not sure if it can be of any help
the following packages will be REMOVED:
redis-server*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 877 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 25718 files and directories currently installed.)
Removing redis-server (3:3.2.6-3+deb9u3) ...
(Reading database ... 25709 files and directories currently installed.)
**Purging configuration files for redis-server (3:3.2.6-3+deb9u3) ...
userdel: group redis not removed because it has other members.**
Processing triggers for systemd (232-25+deb9u12) ...
These are the more detailed logs
root@TheBox:~# journalctl -u redis-server
-- Logs begin at Thu 2016-11-03 18:16:42 CET, end at Sun 2020-03-22 00:30:55 CET. --
Mar 21 15:45:22 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:22 TheBox run-parts[780]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:45:22 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:22 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:22 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:22 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:23 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:23 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:23 TheBox run-parts[821]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:23 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:23 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:23 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:23 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:24 TheBox redis-server[844]: *** FATAL CONFIG FILE ERROR ***
Mar 21 15:45:24 TheBox redis-server[844]: Reading the configuration file, at line 1053
Mar 21 15:45:24 TheBox redis-server[844]: >>> 'always-show-logo no'
Mar 21 15:45:24 TheBox redis-server[844]: Bad directive or wrong number of arguments
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:24 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:24 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:24 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:24 TheBox run-parts[938]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:24 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:24 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:25 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:45:25 TheBox run-parts[954]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:45:25 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:45:25 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Start request repeated too quickly.
Mar 21 15:45:25 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:45:25 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:49 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:49 TheBox run-parts[6139]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:50 TheBox redis-server[6144]: *** FATAL CONFIG FILE ERROR ***
Mar 21 15:50:50 TheBox redis-server[6144]: Reading the configuration file, at line 1053
Mar 21 15:50:50 TheBox redis-server[6144]: >>> 'always-show-logo no'
Mar 21 15:50:50 TheBox redis-server[6144]: Bad directive or wrong number of arguments
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:50 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:50 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:50 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:50 TheBox run-parts[6158]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:50 TheBox redis-server[6162]: *** FATAL CONFIG FILE ERROR ***
Mar 21 15:50:50 TheBox redis-server[6162]: Reading the configuration file, at line 1053
Mar 21 15:50:50 TheBox redis-server[6162]: >>> 'always-show-logo no'
Mar 21 15:50:50 TheBox redis-server[6162]: Bad directive or wrong number of arguments
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:50 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:50 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:51 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:51 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:51 TheBox run-parts[6166]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:51 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:51 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:51 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:51 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:51 TheBox run-parts[6174]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:52 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:52 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:52 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:52 TheBox systemd[1]: Starting Advanced key-value store...
Mar 21 15:50:52 TheBox run-parts[6182]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 21 15:50:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 21 15:50:53 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Start request repeated too quickly.
Mar 21 15:50:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 21 15:50:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:28:41 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:28:41 TheBox run-parts[8022]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:28:41 TheBox run-parts[8028]: run-parts: executing /etc/redis/redis-server.post-up.d/00_example
Mar 22 00:28:41 TheBox systemd[1]: Started Advanced key-value store.
Mar 22 00:29:49 TheBox systemd[1]: Stopping Advanced key-value store...
Mar 22 00:29:50 TheBox run-parts[8420]: run-parts: executing /etc/redis/redis-server.post-down.d/00_example
Mar 22 00:29:50 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:51 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:52 TheBox run-parts[11997]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:30:52 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:52 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:52 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:52 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:52 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:52 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:52 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:52 TheBox run-parts[12016]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:53 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:53 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:53 TheBox run-parts[12024]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:54 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:54 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:54 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:54 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:54 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:54 TheBox run-parts[12040]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:30:55 TheBox redis-server[12044]: *** FATAL CONFIG FILE ERROR ***
Mar 22 00:30:55 TheBox redis-server[12044]: Reading the configuration file, at line 1053
Mar 22 00:30:55 TheBox redis-server[12044]: >>> 'always-show-logo no'
Mar 22 00:30:55 TheBox redis-server[12044]: Bad directive or wrong number of arguments
Mar 22 00:30:55 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:55 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:52 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:52 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:52 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:52 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:52 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:52 TheBox run-parts[12016]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:53 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:53 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:53 TheBox run-parts[12024]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:53 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:53 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:54 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:54 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:54 TheBox systemd[1]: Failed to start Advanced key-value store.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Unit entered failed state.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Failed with result 'exit-code'.
Mar 22 00:30:54 TheBox systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Mar 22 00:30:54 TheBox systemd[1]: Stopped Advanced key-value store.
Mar 22 00:30:54 TheBox systemd[1]: Starting Advanced key-value store...
Mar 22 00:30:54 TheBox run-parts[12040]: run-parts: executing /etc/redis/redis-server.pre-up.d/00_example
Mar 22 00:30:55 TheBox redis-server[12044]: *** FATAL CONFIG FILE ERROR ***
Mar 22 00:30:55 TheBox redis-server[12044]: Reading the configuration file, at line 1053
Mar 22 00:30:55 TheBox redis-server[12044]: >>> 'always-show-logo no'
Mar 22 00:30:55 TheBox redis-server[12044]: Bad directive or wrong number of arguments
Mar 22 00:30:55 TheBox systemd[1]: redis-server.service: Control process exited, code=exited status=1
Mar 22 00:30:55 TheBox systemd[1]: Failed to start Advanced key-value store.
@edo0
Ah, the always-show-logo
is not yet supported by the old Redis version on Stretch 🤔. Please do:
sed -i '/always-show-logo/d' /etc/redis/redis.conf
systemctl restart redis-server
EDIT: Ah good we already check for this, forgotten that this has been fixed here: #3314
Thank you, that did indeed solve it, and allowed me to finalize the reinstallation.
I was able to get the core of nextcloud up and running (WebDAV, CalDAV, Notes, App synchronization etc), but as of immediately after the installation, I still seem to have some issues with the web interface.
I link my nextcloud config file and attach a couple of screenshots
@edo0
Please try flush the browser cache (often crtl+f5).
Yes, I thought of that. Unfortunately, even flushing cache, opening in incognito, or on other laptop and mobile devices (mine and of my significant other), the interface is still broken.
@edo0
Hmm, the installer failed in the middle before?
Please try to reinstall Nextcloud, after removing the culprit:
sed -i '/always-show-logo/d' /DietPi/dietpi/dietpi-software
dietpi-software reinstall 114
@MichaIng
I have tried reinstalling again a couple of times, but the outcome is always the same. Passed the login, the web interface comes out as broken
@edo0
Did you enable any themes on Nextcloud or such?
No, I had actually disabled the provided Theming application
ADDENDUM: should not be related, had an "Unsplash pictures" theming app for the login window, but that is working fine even now and shouldn't have anything to do with the issue I am experiencing
@edo0
I checked your bug report and there are some more failing/conflicting services and some that I cannot see at all, even that their holding packages are installed 🤔:
systemctl disable --now dhcpcd
apt purge dhcpcd5
systemctl disable --now wpa_supplicant
And in your bug report these were failing, are they now all up and running fine?
systemctl status redis-server
systemctl status php7.3-fpm
systemctl status nginx
I got rid of the first two services, rebooted, and confirmed that
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; disabled; vendor pr
eset: enabled)
Active: active (running) since Sun 2020-03-22 18:30:37 CET; 1h 8mi
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; disabled; vendor pres
et: enabled)
Active: active (running) since Sun 2020-03-22 18:30:42 CET; 1h 8mi
and
● nginx.service - A high performance web server and a reverse proxy s
erver
Loaded: loaded (/lib/systemd/system/nginx.service; disabled; vendor preset: e
nabled)
Active: active (running) since Sun 2020-03-22 18:30:43 CET; 1h 8mi
However, the issue still persists
@edo0
Can you try to update Nextcloud:
sudo -u www-data /var/www/nextcloud/updater/updater.phar
ncc upgrade
Thank you so much @MichaIng .
That solved it for me, and now everything is back up and running!!
@edo0
Great, probably there was some mismatch with the installed version + database or similar.
Yes, that seems to have been the case!
Most helpful comment
@edo0
Great, probably there was some mismatch with the installed version + database or similar.