Hey Owen!
great that you had success finally.
There is support for that specific build target in the spec files
already. It is called 'CentOS_6_PHP54'. Not sure how you can select
this, if you do manual rebuilds, but in the BuildService, I have the
%{_repository} variable telling me what my current build target is. The
code that takes care of prepending 'php54-' to all dependencies looks
like this:
%define ocphp php
%define ocphp_bin /usr/bin
%define ochttpd httpd
%if "%_repository" == "CentOS_6_PHP54" || "%_repository" == "RHEL_6_PHP54"
%define ocphp php54-php
%define ocphp_bin /opt/rh/php54/root/usr/bin
%define ochttpd httpd
%endif
seen here:
https://build.opensuse.org/package/show/isv:ownCloud:community:8.1/owncloud
cheers, JW
Am 25.09.2015 um 19:11 schrieb Lamar Owen:
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
--
Your Data, Your Cloud, Your Way!
ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user