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

Error Messages after upgrade from OC 8.04. #18224

Closed
ege1 opened this issue Aug 12, 2015 · 17 comments
Closed

Error Messages after upgrade from OC 8.04. #18224

ege1 opened this issue Aug 12, 2015 · 17 comments

Comments

@ege1
Copy link

ege1 commented Aug 12, 2015

While upgrading I got this error message:

Updating ownCloud to version 8.1.1, this may take a while.

Wartungsmodus eingeschaltet
Checked database schema update
Checked database schema update for apps
Datenbank aktualisiert
Updated "updater" to 0.6
Updated "files" to 1.1.10
Updated "activity" to 2.0.1
Updated "files_sharing" to 0.6.2
Updated "files_trashbin" to 0.6.3
Updated "files_versions" to 1.0.6
Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "calendar_index" as such route does not exist.

It looks like the second attempt succeeded, or at least it looks good to me on the first test.

My Version before:
/version.php

@DeepDiver1975
Copy link
Member

@rperezb yet another upgrade scenario - THX

@DeepDiver1975 DeepDiver1975 added this to the 8.1.2-current-maintenance milestone Aug 12, 2015
@MorrisJobke
Copy link
Contributor

I had something similiar today with a files a route and an upgrade on Ubuntu using the packages from 8.1.0 to 8.1.1.

@MorrisJobke
Copy link
Contributor

Second upgrade attempt just worked fine. (I used the occ tool for both upgrades)

@rperezb
Copy link

rperezb commented Aug 13, 2015

thx, added to the todo list of the upgrade script

@ege1
Copy link
Author

ege1 commented Aug 13, 2015

Is there something wrong with my installation now or went all well finally? Can someone point me to where I need to have a look at?

@law
Copy link

law commented Aug 14, 2015

Ran into this myself, same scenario. What is the 'occ tool' I can use to help get this upgrade through?

@nadres
Copy link

nadres commented Aug 14, 2015

Hello, same here when upgrading from 8.1.0 to 8.1.1 via web interface.

Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "calendar_index" as such route does not exist.

I run occ and went OK.

root@somehost:/var/www/owncloud# sudo -u www-data php occ upgrade
ownCloud or one of the apps require upgrade - only a limited number of commands are available
Turned on maintenance mode
Checked database schema update
Checked database schema update for apps
Updated database
Update successful
Turned off maintenance mode

@law you can use occ to upgrade from command line. I'm sure it does a lot more than that!
check for occ here.

@LukasReschke
Copy link
Member

Can reproduce. Awesome… 🚀

@LukasReschke
Copy link
Member

cc @karlitschek Breaks a lot.

@MorrisJobke
Copy link
Contributor

See also #18315

@Bugsbane
Copy link

I got this with the web interface upgrade:

Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "calendar_index" as such route does not exist.

...but using occ after that worked without error.

Manjaro Linux (Arch spin) OC 8.1.0 > OC 8.1.1

@MorrisJobke
Copy link
Contributor

@Bugsbane Yes. The second run always succeeds. This is because of some background loading.

@nsrosenqvist
Copy link

Happened to me as well when I tried upgrading today. Got it working on second attempt though as previously suggested.

JoshData added a commit to mail-in-a-box/mailinabox that referenced this issue Aug 23, 2015
Per owncloud/core#18224 and https://discourse.mailinabox.email/t/v13-upgrade-issue-with-calendar/757/10, upgrades from anything to ownCloud 8.1.1 were broken. But the workaround is to run the upgrade step twice.
@fossxplorer
Copy link

On current master, even a second round won't fix the problem.

@MorrisJobke MorrisJobke modified the milestones: 8.2-current, 8.1.3-current-maintenance Sep 6, 2015
@MorrisJobke
Copy link
Contributor

Fixed in #18839

@Z4el3m
Copy link

Z4el3m commented Oct 22, 2015

Hi,
is have a similar problem with upgrade from 7.0.10 to 8.0.8 and also from 7.0.10 directly to 8.1.3 but with contacts app.
I deactivated all apps before (except updater) and upgraded owncloud.
This worked fine until I activated the "contacts" app again. Since then OC is only a white screen :)
The only interessting thing I found in log after update was this message:

{"reqId":"5628a3604814e","app":"index","message":"Symfony\Component\Routing\Exception\RouteNotFoundException: Route "contacts_index" does not exist.","level":4,"time":"2015-10-22T08:50:40+00:00","method":"GET","url":"/owncloud/index.php/settings/ajax/navigationdetect.php?app=contacts"}

and a lot of:
..."app":"core","message":"Invalid OCS content returned for app 166057","level":4,...

@coRpTitan
Copy link

I have same issue as Z4el3m mentioned.

./occ upgrade
ownCloud is already latest version

Did not help. I tried like 10 times from web and getting each time same error message. When I enabled older version of calendar I got only blank screen on ANY page of my installation, so I had to disable calendar add-on by using SQL command:

UPDATE cloud.oc_appconfig SET configvalue = 'no' WHERE oc_appconfig.appid = 'calendar' AND oc_appconfig.configkey = 'enabled';

This is what I found at logs(error from calendar):
[Sun Oct 25 14:11:45.584041 2015] [:error] [pid 2932:tid 139957792392960] [client xxx.xxx.xxx.xxx:55189] PHP Fatal error: Access to undeclared static property: Sabre\VObject\Property::$classMap in /.../cloud/apps/calendar/appinfo/app.php on line 43

I hope it will help.

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

No branches or pull requests