Owncloud Upgrade to 9

Owncloud 9 has been relased.

there is a plan to update it on NS?

There is a php bloquing issue with php53 I think

NethServer 7 has PHP 5.4.16. Owncloud 9 says recommended setup is PHP 5.4+

https://doc.owncloud.org/server/9.0/admin_manual/installation/system_requirements.html#recommended-setup-for-running-owncloud

1 Like

oC 7 is php 5.3, which is end of life.
oC 8* is php 5.4, which is end of life, available in NS 7 as soon as we release it.
oC 9 … well, I’n not sure we’re there yet, but probably not until we release NS 7.

OC8 runs on php53, even if I don’t recommend it. With nethserver-php-scl you can change the php version of apache and run owncloud

For me, instead of all that work tweaking NS to run the latest packages and trying not to break it, if I’m going to do all that, then I’m back to running oC on Ubuntu with Webmin. Less work, less exposure.

1 Like

i had a little of troubles setting up OwnCloud 8 on NS 7, but i think we can also try OC 9 if all requirements are met.
Sadly I haven’t much time to work on it right now.

1 Like

I would rather focus on what’s needed to get NS 7 into production with oC 8 than worry about oC 9 at this time.

1 Like

Or skip oC8 and implement oC9? Saves work?!

2 Likes

The work on 8 has been already done :slight_smile:

Owncloud update on NS 6 isn’t possible due to PHP version.
Owncloud 8 is already available on NS 7
All requirements for OC9 are met, @jackyes would you like to try the upgrade?

Check this page for official CentOS packages:
https://download.owncloud.org/download/repositories/stable/owncloud/

1 Like

i’m on NS6 but i will create a VM with NS7 As soon as possible :smiley:

1 Like

For testing… right?

I have tested oC in NS7 to a medium degree and light load… but NS7 is in alpha.

Good! Please, let us know how it’s going.

2 posts were split to a new topic: Problem on install NS7 on digital ocean

After a Clean NS7 install on DigitalOcean:
Crate a user, install owncloud.

cd
wget download.owncloud.com
yum install bzip2
tar xjvf owncloud-9.0.0.tar.bz2
mv /var/www/html/owncloud/ /var/www/html/owncloud_bk
mv owncloud /var/www/html/
cp /var/www/html/owncloud_bk/config/* /var/www/html/owncloud/config/
mkdir /var/www/html/owncloud/data
cp /var/www/html/owncloud_bk/data/* /var/www/html/owncloud/data/
chown -R apache.apache /var/www/html/owncloud
su -s /bin/bash -c ‘php /var/www/html/owncloud/occ upgrade’ apache
rm owncloud-9.0.0.tar.bz2

Owncloud 9 up and running :smile:

Good! Can you use also the official OwnCloud package for CentOS?
I’m sure that you’re going to need just a few commands

Check this page for official CentOS packages:
https://download.owncloud.org/download/repositories/stable/owncloud/

added the owncloud repo and run yum install owncloud:

Error: Package: nethserver-owncloud-1.1.7-1.15.g05e5475.ns7.noarch (@nethserver-base)
Requires: owncloud = 8.2.2-1.1
Removing: owncloud-8.2.2-1.1.noarch (@nethserver-base)
owncloud = 8.2.2-1.1
Updated By: owncloud-9.0.0-1.1.noarch (ce_stable)
owncloud = 9.0.0-1.1
Obsoleted By: owncloud-files-9.0.0-1.1.noarch (ce_stable)
Not found
Available: owncloud-8.0.10-1.el7.noarch (epel)
owncloud = 8.0.10-1.el7
Error: Package: nethserver-owncloud-1.1.7-1.15.g05e5475.ns7.noarch (@nethserver-base)
Requires: owncloud = 8.2.2-1.1
Removing: owncloud-8.2.2-1.1.noarch (@nethserver-base)
owncloud = 8.2.2-1.1
Updated By: owncloud-9.0.0-1.1.noarch (ce_stable)
owncloud = 9.0.0-1.1
Available: owncloud-8.0.10-1.el7.noarch (epel)
owncloud = 8.0.10-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

i m not very skilled with yum… :kissing_closed_eyes: that’s why I opted for the ’ manual upgrade :sweat_smile:

maybe

yum upgrade owncloud --enablerepo=ce_stable

or

yum reinstall  owncloud --enablerepo=ce_stable

edit :

 Error: Package: nethserver-owncloud-1.1.7-1.15.g05e5475.ns7.noarch (@nethserver-base)
Requires: owncloud = 8.2.2-1.1

you can try above, but I worry that nethserver-owncloud require an exact version, this should be modified by ’ Requires: owncloud >= 8.2.2-1.1’ in the spec file

root@test ~]# yum upgrade owncloud --enablerepo=ce_stable
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

  • base: centos.mirror.constant.com
  • epel: mirror.cs.princeton.edu
  • extras: mirror.symnds.com
  • nethforge: mirror.nethserver.org
  • nethserver-base: mirror.nethserver.org
  • nethserver-updates: mirror.nethserver.org
  • updates: mirrors.rit.edu
    Resolving Dependencies
    –> Running transaction check
    —> Package owncloud.noarch 0:8.2.2-1.1 will be obsoleted
    –> Processing Dependency: owncloud = 8.2.2-1.1 for package: nethserver-owncloud-1.1.7-1.15.g05e5475.ns7.noarch
    —> Package owncloud-config-apache.noarch 0:8.2.2-1.1 will be obsoleted
    —> Package owncloud-files.noarch 0:9.0.0-1.1 will be obsoleting
    —> Package owncloud-server.noarch 0:8.2.2-1.1 will be obsoleted
    –> Finished Dependency Resolution
    Error: Package: nethserver-owncloud-1.1.7-1.15.g05e5475.ns7.noarch (@nethserver-base)
    Requires: owncloud = 8.2.2-1.1
    Removing: owncloud-8.2.2-1.1.noarch (@nethserver-base)
    owncloud = 8.2.2-1.1
    Obsoleted By: owncloud-files-9.0.0-1.1.noarch (ce_stable)
    Not found
    Available: owncloud-8.0.10-1.el7.noarch (epel)
    owncloud = 8.0.10-1.el7
    Available: owncloud-9.0.0-1.1.noarch (ce_stable)
    owncloud = 9.0.0-1.1
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

[root@test ~]# yum reinstall owncloud --enablerepo=ce_stable
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

Dependencies Resolved

============================================================ Package Arch Version Repository Size
============================================================Reinstalling:
owncloud noarch 8.2.2-1.1 nethserver-base 27 k

Transaction Summary
============================================================Reinstall 1 Package

Total download size: 27 k
Installed size: 33 k
Is this ok [y/d/N]: