-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nextcloud_version
and updating do not work well together
#30
Comments
There are more issues with the way we currently upgrade:
Is there a reason for not resetting the file permissions, then directly using the upgrader and then setting file permissions properly again? |
Extracting the files on top of the old ones is a valid option to upgrade Nextcloud. But, if we implement checks so that the maximum major version to be installed is that specified in |
I'm being very petty here, but the manual says:
So they don't extract on top but replace the whole folder |
You are right, it is cleaner this way. In any case, let's use the |
This is a bit more annoying than I thought:
Cool, so we can simply update and end up at the right place (i.e. not jumping versions)? No!
|
I will look into proposing a patch to NC to at least get this fixed for future versions. |
nextcloud_version
is used to create the url where Nextcloud will be downloaded from. The role also checks if there is an update available and if there is it re-downloads Nextcloud and re-installs it. The problem is that the url will be for the version defined innextcloud_version
and not the newer version.TODO
updater/updater.phar
to get the update urlnextcloud_update
nextcloud_update: true
variable to toggle the update functionalityThe text was updated successfully, but these errors were encountered: