Skip to content
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

Support single-step upgrading from any version to current version #40

Closed
jernst opened this issue Jan 21, 2016 · 2 comments
Closed

Support single-step upgrading from any version to current version #40

jernst opened this issue Jan 21, 2016 · 2 comments

Comments

@jernst
Copy link

jernst commented Jan 21, 2016

Upgrading while skipping a major package version currently is a lot of manual work. ("Download; install; upgrade; uninstall; repeat" per forum post.) This should be automated.

Many users have run into this, as the many duplicate bug reports related to "Exception: Updates between multiple major versions and downgrades are unsupported." show.

Mediawiki has one way of doing this kind of thing. At every release, they add whatever migrations needed to be done at the end of a long upgrade script, which grows with every release. As a result, the script can upgrade any old version of Mediawiki and installs of intermediate versions are never required.

This is important not just for people who don't upgrade ownCloud every time a new version comes out, but particularly for being able to restore old backups.

We just ran into this issue on UBOS where users may end up with partially non-functioning devices as we cannot invoke any code (unless we develop it ourselves) that migrates and will work for all possible ownCloud installs. See also uboslinux/ubos-app-owncloud#9.

(I just added this here because lots of the reports point to #4, there may be a better place where to file this.)

@karlitschek
Copy link

I assume that you are talking about ownCloud upgrades and not upgrades of ownCloud apps?
If this is the case then this is the wrong repo. This is a core issue but also a duplicate.

@jernst
Copy link
Author

jernst commented Jan 22, 2016

Moved to owncloud/core#21859

@jernst jernst closed this as completed Jan 22, 2016
ghost referenced this issue in uboslinux/ubos-app-owncloud Feb 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants