This ticket was originally about root permissions on the Z-Push folders.
The fix of this ticket is:
- add a check to verify the return code of the "z-push-admin -a fixstates" call
- if it fails, print a message to the admin like:
When upgrading from an earlier version you need to run "z-push-admin -a fixstates". The execution on setup failed (see error above). Please fix the issue and run the command manually. More information at https://wiki.z-hub.io/x/R4Ea