Replace custom build with version from appstore?
-
Hi,
with the cloudron cli it is possible to "update" an app that was originally installed from the appstore with a locally built version (by doing
cloudron install --app 778fa79a-7f96-418e-8810-b16c1a8a7ea2
, where 778.. is the id of the current app).
But how about going back to the official version? Theupdate
action does not seem to support specifying an appstore id.One a side note depending on the combination of parameters I get different error messages from the cloudron cli.
$ cloudron install --appstore-id com.github.xxx --app xxx Use "cloudron update" to update an app $ cloudron install --appstore-id com.github.xxx Location: xxx Failed to install app: 409 message: Domain 'xxx.yyy.eu' is in use
-
Since we separated the install from the update, I don't think that is possible anymore. Before there was quite a bit of flexibility but also magic when it was a new install or an update.
This also is why the error messages are like this. Previously adding
--app
would essentially mean updating or more like overwrite that app with this appstoreId or local manifest/build. The update part is now handled by the update subcommand and the install is always a new instance.I guess what is missing here is to accept either the appstoreId or the image (which defaults to check for the current folder having a manifest and a corresponding build) for the update subcommand.
-
@fbartels Ah, I faced this exact issue the other day (your use case is different, but I wanted a similar CLI option) and made a task for it a week ago - https://git.cloudron.io/cloudron/cloudron-cli/-/issues/56 . Will get to this
-