When starting Carbonio CE on Rocky Linux or Oracle Linux after being shut down for a few days, I found an error where the service-discover component refused to start. The error was as follows:
Apr 04 09:14:52 carbonio.imanudin.web.id service-discoverd[555674]: 2025-04-04T09:14:52.720+0700 [ERROR] agent: Error starting agent: error="refusing to rejoin cluster because server has been offline for more than the configured server_rejoin_age_max (168h0m0s) - consider wiping your data dir"
To solve the above problem on Carbonio, you can move the server_metadata.json file to another folder.
mv /var/lib/service-discover/data/server_metadata.json /srv/ systemctl restart service-discover systemctl status service-discover
After that, the Carbonio service-discover will be running again.
Good luck 🙂