[Owncloud] ownCloud 4.5 beta 4
Arthur Schiwon
blizzz at owncloud.com
Thu Sep 20 17:46:11 UTC 2012
On Thursday, September 20, 2012 06:56:37 PM Arthur Schiwon wrote:
> > I tried to upgrade an owncloud instance from 4.0.7 to this beta with data
> > and config from my production system.
> >
> > After any request i see a blank page with the message:
> > Fatal error: Call to undefined function xcache_unset_by_prefix() in
> >
> > /path/to/owncloud/lib/cache/xcache.php on line 47
> >
> > PHP is version 5.3.2
> > php5-xcache is installed (v1.3)
>
> Additional info: in Wordpress they clear the whole cache if the function is
> not present [1]. Might be a sufficient workaround, but i leave it up to
> Bart.
Now, I went a bit furhter forward with temporarily using this workaround.
Now i experience another issue, this time with sharing, also on a blank page:
Fatal error: Uncaught exception 'Exception' with message 'Sharing 9134
failed, because resharing is not allowed' in /home/blizzz/minion/ovin-
testing/lib/public/share.php:838
Stack trace:
#0 /path/to/owncloud/lib/public/share.php(249): OCP\Share::put('folder',
'9134', 3, NULL, 'arthur', 1)
#1 /path/to/owncloud/apps/files_sharing/appinfo/update.php(41):
OCP\Share::shareItem('folder', '9134', 3, NULL, 1)
#2 /path/to/owncloud/lib/app.php(679): include('/home/blizzz/mi...')
#3 /path/to/owncloud/lib/app.php(622): OC_App::updateApp('files_sharing')
#4 /path/to/owncloud/lib/app.php(84): OC_App::checkUpgrade('files_sharing')
#5 /path/to/owncloud/lib/app.php(58): OC_App::loadApp('files_sharing')
#6 /path/to/owncloud/lib/base.php(439): OC_App::loadApps()
#7 /path/to/owncloud/index.php(28): OC::handleRequest()
#8 {main} thrown in /path/to/owncloud/lib/public/share.php on line 838
I never disabled resharing, btw.
On the next page request, another message from Sharing:
Fatal error: Uncaught exception 'Exception' with message 'Sharing 88 failed,
because this item is already shared with a link' in
/path/to/owncloud/lib/public/share.php:240
Stack trace:
#0 /path/to/owncloud/apps/files_sharing/appinfo/update.php(41):
OCP\Share::shareItem('file', '88', 3, NULL, 1)
#1 /path/to/owncloud/lib/app.php(679): include('/home/blizzz/mi...')
#2 /path/to/owncloud/lib/app.php(622): OC_App::updateApp('files_sharing')
#3 /path/to/owncloud/lib/app.php(84): OC_App::checkUpgrade('files_sharing')
#4 /path/to/owncloud/lib/app.php(58): OC_App::loadApp('files_sharing')
#5 /path/to/owncloud/lib/base.php(439): OC_App::loadApps()
#6 /path/to/owncloud/index.php(28): OC::handleRequest()
#7 {main} thrown in /path/to/owncloud/lib/public/share.php on line 240
And with this message I am stuck, i get nothing else when refreshing ownCloud.
There is indeed a file that is shared twice using a link. Removing one line
from sharing table did not help, same error. What actually is 88 – cannot find
an identifier in the DB. I made out a file with this id and removed the row in
table share. Next refresh the same error, only with another ID. After removing
this row, number 88 was back. So I emptied table Sharing, on the next refresh
ownCloud could load finally.
Now the Shared folder appears to times.
Also, Resharing is now disabled. Maybe this caused the first problem? Would be
good to detect if it was allowed before and leave it like this when upgrading.
Cheers
Arthur
>
> [1] http://wordpress.org/support/topic/plugin-xcache-object-cache-backend-
> xcache-13
>
> > Cheers
> > Arthur
> >
> > > Frank
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Owncloud mailing list
> > > Owncloud at kde.org
> > > https://mail.kde.org/mailman/listinfo/owncloud
> >
> > _______________________________________________
> > Owncloud mailing list
> > Owncloud at kde.org
> > https://mail.kde.org/mailman/listinfo/owncloud
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list