Hi
just had a update through the repos of Owncloud 8.09 to 8.2.4, but when i access owncloud i get a screen with a button to upgrade.
Clicking on th putton to continue gives the following error
Exception: Updates between multiple major versions and downgrades are unsupported.
The update was unsuccessful. Please report this issue to the ownCloud community.
What can be the problem ? an how to solve
just had a update through the repos of Owncloud 8.09 to 8.2.4, but when i access owncloud i get a screen with a button to upgrade.
Clicking on th putton to continue gives the following error
Exception: Updates between multiple major versions and downgrades are unsupported.
The update was unsuccessful. Please report this issue to the ownCloud community.
What can be the problem ? an how to solve
Share this post:
Responses (13)
-
Accepted Answer
I was in the same boat at Patrick. Here's how I got back to working:
yum downgrade owncloud owncloud-database owncloud-webserver owncloud-httpd php-composer php-Assetic
Then edit:
/usr/share/owncloud/config/config.php
And make sure 'maintenance' is set to 'false'.
Finally, I had to edit:
/usr/share/owncloud/apps/files_external/3rdparty/smb4php/smb.php
and comment out the last two lines:
# stream_wrapper_register('smb', 'smb_stream_wrapper')
# or die ('Failed to register protocol');
A hack...yup...but like Pete said above, this caught us off guard. More to come.
B -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Ben Chambers wrote:
I was in the same boat at Patrick. Here's how I got back to working:
yum downgrade owncloud owncloud-database owncloud-webserver owncloud-httpd php-composer php-Assetic
Then edit:
/usr/share/owncloud/config/config.php
And make sure 'maintenance' is set to 'false'.
Finally, I had to edit:
/usr/share/owncloud/apps/files_external/3rdparty/smb4php/smb.php
and comment out the last two lines:
# stream_wrapper_register('smb', 'smb_stream_wrapper')
# or die ('Failed to register protocol');
A hack...yup...but like Pete said above, this caught us off guard. More to come.
B
Ben,
This worked !!
thanks -
Accepted Answer
Sorry, there is still a roblem with WebDAV.
I can't login with the app or through PC, only the webpage
-------- UPDATE --------
Is see this in messages,log:
Jun 3 22:47:08 pdebrabander httpd[30887]: {PHP} Class 'Sabre\DAV\ObjectTree' not found at /usr/share/owncloud/lib/private/connector/sabre/objecttree.php#17
Jun 3 22:47:15 pdebrabander httpd[24111]: {PHP} Class 'Sabre\DAV\ObjectTree' not found at /usr/share/owncloud/lib/private/connector/sabre/objecttree.php#17
Jun 3 22:47:40 pdebrabander httpd[30887]: {PHP} Class 'Sabre\DAV\ObjectTree' not found at /usr/share/owncloud/lib/private/connector/sabre/objecttree.php#17
In yum update i'm getting these errors:
yum update
Resolving Dependencies
--> Running transaction check
---> Package clearsdn-content-filter.noarch 0:6.1-20160502.1632 will be updated
---> Package clearsdn-content-filter.noarch 0:6.1-20160603.1711 will be an update
---> Package php-Assetic.noarch 0:1.2.1-1.el7 will be updated
--> Processing Dependency: php-composer(kriswallsmith/assetic) < 1.3 for package: owncloud-8.0.9-1.el7.noarch
---> Package php-Assetic.noarch 0:1.3.2-3.el7 will be an update
--> Finished Dependency Resolution
Error: Package: owncloud-8.0.9-1.el7.noarch (@clearos-epel-verified)
Requires: php-composer(kriswallsmith/assetic) < 1.3
Removing: php-Assetic-1.2.1-1.el7.noarch (@clearos-epel-verified)
php-composer(kriswallsmith/assetic) = 1.2.1
Updated By: php-Assetic-1.3.2-3.el7.noarch (clearos-epel-verified)
php-composer(kriswallsmith/assetic) = 1.3.2
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@pdebrabander ~]# yum downgrade php-Assetic
-
Accepted Answer
Ben,
Looks like the package is not available.
Is this correct ?
yum install php-composer
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: ftp.nluug.nl
* clearos-centos-verified: mirror1-frankfurt.clearos.com
* clearos-contribs: ftp.nluug.nl
* clearos-epel-verified: mirror1-frankfurt.clearos.com
* clearos-fast-updates: download2.clearsdn.com
* clearos-infra: ftp.nluug.nl
* clearos-verified: mirror1-frankfurt.clearos.com
* private-clearcenter-antimalware: download4.clearsdn.com:80
* private-clearcenter-antispam: download4.clearsdn.com:80
* private-clearcenter-content-filter: download2.clearsdn.com:80
* private-clearcenter-dyndns: download2.clearsdn.com:80
* private-clearcenter-home: download2.clearsdn.com:80
* private-clearcenter-ids: download4.clearsdn.com:80
* private-clearcenter-owncloud: download4.clearsdn.com:80
* private-clearcenter-rbs: download4.clearsdn.com:80
* private-clearcenter-verified-updates: download4.clearsdn.com:80
* private-clearcenter-zarafa-community: download4.clearsdn.com:80
No package php-composer available.
Error: Nothing to do
----------- UPDATE ------------
I've download the complete package from the Owncloud.org website and copied some missing files.
The direcory /usr/share/owncloud/3rdparty/kriswallsmith was only containing /usr/share/owncloud/3rdparty/kriswallsmith/assetic/src/functions.php.
Copied the rest from the source file
The directorie /usr/share/owncloud/3rdparty/sabre was not avalable.
Copied the directory completly form the source file.
The errors are gone and i can access Owncloud from the Apps.
Still strange that I was missing these files and directory.
i don't know if there more files missing ?? How can i check this ?? -
Accepted Answer
I'm still have the problem with the yum update.
owncloud is working, but still strange that this package is needed and not installing
Resolving Dependencies
--> Running transaction check
---> Package php-Assetic.noarch 0:1.2.1-1.el7 will be updated
--> Processing Dependency: php-composer(kriswallsmith/assetic) < 1.3 for package: owncloud-8.0.9-1.el7.noarch
---> Package php-Assetic.noarch 0:1.3.2-3.el7 will be an update
--> Finished Dependency Resolution
Error: Package: owncloud-8.0.9-1.el7.noarch (@clearos-epel-verified)
Requires: php-composer(kriswallsmith/assetic) < 1.3
Removing: php-Assetic-1.2.1-1.el7.noarch (@clearos-epel-verified)
php-composer(kriswallsmith/assetic) = 1.2.1
Updated By: php-Assetic-1.3.2-3.el7.noarch (clearos-epel-verified)
php-composer(kriswallsmith/assetic) = 1.3.2
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
-
Accepted Answer
Hi Ben,
There was an automatic update last night of Owncloud 8.2.4. and i've having the same problem again.
Do i need to downgrade again or is there an other suggestion ?
app-owncloud-core-2.1.2-1.v7 Updated Jun 07, 02:53:47
app-owncloud-2.1.2-1.v7 Updated Jun 07, 02:53:47
owncloud-8.2.4-1.el7 Updated Jun 07, 02:53:46
owncloud-mysql-8.2.4-1.el7 Updated Jun 07, 02:53:46
php-Assetic-1.3.2-3.el7 Updated Jun 07, 02:53:42
owncloud-httpd-8.2.4-1.el7 Updated Jun 07, 02:53:42
Please advise.
Thanks -
Accepted Answer
I just started over...mobile client is working fine, and running on 8.2.4.-1.
Here's what I did:
yum remove owncloud
rm /etc/owncloud -rf
rm /etc/owncloud.bak -rf
cat /var/clearos/system_database/root
/usr/clearos/sandbox/usr/bin/mysql -uroot -p"XXX"
Where XXX is password from the cat command above.
MariaDB [(none)]> drop database owncloud;
rm /var/clearos/system_database/owncloud
yum install app-owncloud
I believe the new RPM (with a re-install like this), uses the actual username in the data folder instead of the UUID, so you may need to go and identify the folders and mv <UUID> <username> in /var/clearos/owncloud/data if you don't see your data on login.
As I said, my mobile client is working fine.
Only other thing I encountered was an SSL protocol error but I tracked that down to having my filter/proxy running for some testing I did earlier...turning off DG allowed me to login as normal. If you're using the content/filter, you could exclude the server to fix this, I suppose...I'll take a look at it later since it should be easy to duplicate.
B. -
Accepted Answer
Ben Chambers wrote:
I just started over...mobile client is working fine, and running on 8.2.4.-1.
Here's what I did:
yum remove owncloud
rm /etc/owncloud -rf
rm /etc/owncloud.bak -rf
cat /var/clearos/system_database/root
/usr/clearos/sandbox/usr/bin/mysql -uroot -p"XXX"
Where XXX is password from the cat command above.
MariaDB [(none)]> drop database owncloud;
rm /var/clearos/system_database/owncloud
yum install app-owncloud
I believe the new RPM (with a re-install like this), uses the actual username in the data folder instead of the UUID, so you may need to go and identify the folders and mv <UUID> <username> in /var/clearos/owncloud/data if you don't see your data on login.
As I said, my mobile client is working fine.
Only other thing I encountered was an SSL protocol error but I tracked that down to having my filter/proxy running for some testing I did earlier...turning off DG allowed me to login as normal. If you're using the content/filter, you could exclude the server to fix this, I suppose...I'll take a look at it later since it should be easy to duplicate.
B.
Hi Ben,
worked !! thanks again.
UUID is indeed now a username
I need to reset the admin password, because this was not working
sudo -u apache php /usr/share/owncloud/occ user:resetpassword admin
-
Accepted Answer
Patrick de Brabander wrote:
Ben Chambers wrote:
I just started over...mobile client is working fine, and running on 8.2.4.-1.
Here's what I did:
yum remove owncloud
rm /etc/owncloud -rf
rm /etc/owncloud.bak -rf
cat /var/clearos/system_database/root
/usr/clearos/sandbox/usr/bin/mysql -uroot -p"XXX"
Where XXX is password from the cat command above.
MariaDB [(none)]> drop database owncloud;
rm /var/clearos/system_database/owncloud
yum install app-owncloud
I believe the new RPM (with a re-install like this), uses the actual username in the data folder instead of the UUID, so you may need to go and identify the folders and mv <UUID> <username> in /var/clearos/owncloud/data if you don't see your data on login.
As I said, my mobile client is working fine.
Only other thing I encountered was an SSL protocol error but I tracked that down to having my filter/proxy running for some testing I did earlier...turning off DG allowed me to login as normal. If you're using the content/filter, you could exclude the server to fix this, I suppose...I'll take a look at it later since it should be easy to duplicate.
B.
Hi Ben,
worked !! thanks again.
UUID is indeed now a username
I need to reset the admin password, because this was not working
sudo -u apache php /usr/share/owncloud/occ user:resetpassword admin
All of this worked for me too!
Thanks to all!!! -
Accepted Answer
Ben,
Just for your information.
I've installed a new server for a friend with ClearOS 7 Home essential and could not login as admin.
After installation there is also no setup page or something where you can configure Owncloud for the first time.
I did a password reset and could login as Admin,
sudo -u apache php /usr/share/owncloud/occ user:resetpassword admin
The users can login normally.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »