On 09/24/2015 04:12 PM, Lamar Owen wrote:
I filed a bug ( #18239 ) back on August 12 about not being able to
update from 8.1.0 to 8.1.1 due to the lack of a defined path for the
upgrade of the owncloud-server-scl-php54 package. ...
What is the recommended and supported path for getting this upgraded
on a production server using the php54 from the CentOS rebuild of the
Red Hat Software Collections?
Having heard nothing, here's what I have done to get my installation up
to 8.1.3:
1.) Full backup, database and /var/www/html/owncloud
2.) Manually download rpm packages from OBS for CentOS 6 8.1.3-13.1
3.) Install rpmrebuild
4.) rpmrebuild -e -p owncloud-server.rpm
5.) Edited the rpmrebuild-generated spec file to change all php
dependencies to include the 'php54-' prepended, and changed the php
dependency to be for php54 instead of php >= 5.4.0 and changed the
release number to show this (I used '1scl' as the release).
6.) Saved the generated spec file, and copied the resulting package (in
~/rpmbuild/RPMS/noarch) to where the owncloud and owncloud-config-apache
packages downloaded from OBS are.
7.) 'service httpd stop'
8.) 'yum remove owncloud-server-scl-php54'
9.) 'yum install owncloud-8.1.3-13.1.noarch.rpm
owncloud-config-apache-8.1.3-13.1.noarch
owncloud-server-8.1.3-13.1scl.noarch.rpm
10.) Do the update to 8.1.3 through the web interface.
11.) Disable the OBS owncloud repo and start manually tracking it.....
And I'm successfully on 8.1.3. Now, having said all that, I will
mention that I maintained the PostgreSQL RPMS from about 6.5.x through
7.4.x (1999 through 2004) and that I still do from-source-rpm builds
frequently, so I knew exactly what I was doing, and I tried it on a
development server with various dependencies and options before settling
on this method before doing this on my production owncloud instance. So
your mileage may vary, and make sure you have a full and tested backup
before trying anything like this on the production instance.
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user