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

Exception when upgrading from 8.0.3.4 to 8.2.1.4 #22300

Closed
Spereicle opened this issue Feb 10, 2016 · 5 comments
Closed

Exception when upgrading from 8.0.3.4 to 8.2.1.4 #22300

Spereicle opened this issue Feb 10, 2016 · 5 comments

Comments

@Spereicle
Copy link

Looking for best way forward to restore ownCloud after update exception. Currently no access to GUI or login.

Our ownCloud is installed on a shared server and has been functioning very well for a year or more.

Attempted to update using the internal Update App (via Admin GUI) earlier today without success.

Message upon exit:

Preparing update
Set log level to debug - current level: "Warning"
Turned on maintenance mode
Exception: Updates between multiple major versions and downgrades are unsupported.
The update was unsuccessful. Please report this issue to the ownCloud community.

Current Status:
All URL's return 'ownCloud will be updated to version 8.2.1' splash screen.
Unable to login or access files.

checked config.php:
'version' => '8.0.3.4',
'installed' => true,
'maintenance' => false,
'loglevel' => 2,

Screenshots attached
ownCloud.log attached

Is there a way of finding out more information on what is actually hanging the process?
What is the best way to troubleshoot the process?
What happens if I overwrite the current ownCloud system (not data) files with those (8.0.3.4) auto-backed up at the start of the update?

owncloud Log_partial.txt
owncloud Log_partial.xlsx

current display page - screenshot
owncloud 8 2 1 exception on update - screenshot

@LukasReschke
Copy link
Member

You can't update from 8.0 to 8.2, update first to 8.1

@Oinosseus
Copy link

Hello,

I'm at the same point point. I triggered an auto update from 8.0 to 8.2 with the same result.

Now I downloaded the 8.1 version and unpack it on my webserver. I also copied my old config.php to the new 8.1 installation.
Unfortunately the same screen shows up again.

Do I also have to delete the data folder from the failed update trial? Or what has to be done to come back to a functional Installation?

Thx,
Thomas

@Spereicle
Copy link
Author

Thanks for the timely reply Lukas.

Thomas, here is how I was able to revert our install without loss of data:
IMPORTANT NOTE: our data files are stored outside the webserver and outside the ownCloud tree structure.

  1. Make backups of the database, ownCloud system files, and file repository.
  2. Copy the config.php out of the ownCloud tree structure, and make an offsite backup.
  3. Copy the ownCloud install package of the version you were updating FROM to the appropriate webserver directory for install. (likely from [ownCloud data directory]/updater_backup/ directory). Note, choose the version you attempted to upgrade from and the one without the random string as this is the entire package.
  4. Completely delete the current ownCloud directory tree and all files.
  5. Reinstall the ownCloud directory tree and all files from the zipped package above.
  6. Reinstall the config.php file.

I also did a roll back on the mySQL database, which may not have been required.

@Oinosseus
Copy link

Thank you for your answer.

But meanwhile I restored my backup. I recovered the owncloud-directory, the data-directory and the database. Fortunately I learned from the past and I make a complete backup before every owncloud update.

Now I will try to update to 8.1

Thx,
Thomas

@lock
Copy link

lock bot commented Aug 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants