Open maltokyo opened 4 years ago
Is there more to the log? It looks like redis may not be installed and running properly.
Can you run and share the output:
sudo systemctl status redis
Hi @tehelsper
Nothing more in the mynode logs, thats it.
The output of sudo systemctl status redis
is (looks like filesystem error? This was working prior to recent upgrade) as follows:
root@myNode:~# systemctl status redis
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: deactivating (stop-sigterm) (Result: timeout)
Docs: http://redis.io/documentation,
man:redis-server(1)
Cntrl PID: 4320 (redis-server)
Tasks: 4 (limit: 4915)
Memory: 7.0M
CGroup: /system.slice/redis-server.service
└─4320 /usr/bin/redis-server 127.0.0.1:6379
Aug 03 04:50:31 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:50:31.384 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo neve
Aug 03 04:50:31 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:50:31.384 * DB loaded from disk: 0.000 seconds
Aug 03 04:50:31 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:50:31.384 * Ready to accept connections
Aug 03 04:52:01 myNode systemd[1]: redis-server.service: Start operation timed out. Terminating.
Aug 03 04:52:01 myNode redis-server[4320]: 4320:signal-handler (1596448321) Received SIGTERM scheduling shutdown...
Aug 03 04:52:01 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:52:01.490 # User requested shutdown...
Aug 03 04:52:01 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:52:01.490 * Saving the final RDB snapshot before exiting.
Aug 03 04:52:01 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:52:01.490 # Failed opening the RDB file dump.rdb (in server root dir /mnt/hdd/mynode/redis) for saving: Read-only file system
Aug 03 04:52:01 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:52:01.490 # Error trying to save the DB, can't exit.
Aug 03 04:52:01 myNode redis-server[4320]: 4320:M 03 Aug 2020 04:52:01.490 # SIGTERM received but errors trying to shut down the server, check the logs for more information
Is anything else not working? It is very unusual that it would think /mnt/hdd/mynode/redis is read-only if other apps are using the external drive properly.
You could try deleting the database file (dump.rdb) and that may help, but you would lose info stored in lndhub.
Added detection for read-only issues of the external drive.
Logs below, had red traffic light and the logs look like this.
Log from mynode UI: