I’m using Nextcloud, installed with snap, on an RPi 4 8GB. To get better performance, I upgraded the hardware to RPi5 8GB, just by moving the microSD and the external hard drive to the new RPi. Now, everything else starts up EXCEPT for nextcloud.redis-server.
Here is the “snap logs nextcloud.redis-server” output:
2024-02-19T19:49:04-07:00 nextcloud.redis-server[22128]: : Unsupported system page size
2024-02-19T19:49:04-07:00 nextcloud.redis-server[22128]: : Unsupported system page size
2024-02-19T19:49:04-07:00 nextcloud.redis-server[22089]: Segmentation fault
2024-02-19T19:49:04-07:00 systemd[1]: snap.nextcloud.redis-server.service: Main process exited, code=exited, status=139/n/a
2024-02-19T19:49:04-07:00 systemd[1]: snap.nextcloud.redis-server.service: Failed with result ‘exit-code’.
2024-02-19T19:49:04-07:00 systemd[1]: snap.nextcloud.redis-server.service: Scheduled restart job, restart counter is at 5.
2024-02-19T19:49:04-07:00 systemd[1]: Stopped snap.nextcloud.redis-server.service - Service for snap application nextcloud.redis-server.
2024-02-19T19:49:04-07:00 systemd[1]: snap.nextcloud.redis-server.service: Start request repeated too quickly.
2024-02-19T19:49:04-07:00 systemd[1]: snap.nextcloud.redis-server.service: Failed with result ‘exit-code’.
2024-02-19T19:49:04-07:00 systemd[1]: Failed to start snap.nextcloud.redis-server.service - Service for snap application nextcloud.redis-server.
And the uname -a output:
Linux nextcloud-pi 6.1.0-rpi8-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
I know it has to do with the page size, on the RPi4/8GB, the output for getconf PAGE_SIZE is 4096 and for the RPi5/8GB, it is 16384. I’m just not sure how or where to change it so that redis-server uses this different size.
I found something somewhat similar here:
and here:
Anybody have any suggestions?