Resize app bug
-
I have just attempted to resize the CPU limit of a deactivated app. The task failed, but now I can not restart the app because of the error nor finish the task as the same thing happens when I try again.
I can't even restore the app (as it is in error state or deactivated). I could re-install it using the backup configuration, which would solve my problem, but shouldn't there be a proper warning if this can happen?
The app I did this with was Outline.
-
Yes, restarting the server solved the problem.
However, I could reproduce the error with outline when I simply deactivated it again and tried to resize it.
This is the error:
Inactive: Error getting IP of redis-f9cfdd22-88ef-44db-9c5b-87d5d0b3ac80 service
It didn't seem to happen with another app I tested. -
I just reproduced your error.
After reproducing the error, I am also surprised that the reboot actually helped.
Since the app uses the redis, a redis service is started for the app when installed.When disabling the app, Cloudron also stops/disables the redis service of this app.
Producing the errorInactive: Error getting IP of redis-$APPID service
when trying to resize the app.Reproducing steps:
- install com.getoutline.cloudronapp
- disable the installed app
- try to resize the app
- error
Inactive: Error getting IP of redis-$APPID service
=> softlock can't fix the app via repair
A quick hotfix would be:
- go into the service view
https://my.DOMAIN.TLD/#/services
- start/restart the redis service of that app.
- in the repair section of the app view you can
retry task
to fix it
The app will still be stopped, but the resize will be successful.
But the redis service is still running with nothing to do.
To stop this, you have to enable and disable the app again.