[Arm-dev] nextcloud on armv7hl

Robert Moskowitz rgm at htt-consult.com
Thu Aug 10 14:52:55 UTC 2017


I changed the subject to nextcloud....

On 08/09/2017 07:24 AM, Nicolas Repentin wrote:
>
> Hi ;)
>
> If you wan, you can add the following repo file with wget to 
> /etc/yum.repos.d/
>
> http://repo.shivaserv.fr/centos/7/shivaserv-various.repo
>
> It's my own repo, I've put php70w on it ;)
>
> The upload is not very big (above 6Mbits/s), but packages are not big.
>

Downloaded and installed fine.  Followed instructions at: 
https://www.rosehosting.com/blog/how-to-install-nextcloud-11-on-centos-7/

And did:

wget https://download.nextcloud.com/server/releases/nextcloud-12.0.1.zip
unzip nextcloud-12.0.1.zip -d /var/www/html/
chown -R apache:apache /var/www/html/nextcloud/


Restarted httpd and in my browser entered ip/nextcloud  and got the 
following in error_log

[Thu Aug 10 10:43:26.957412 2017] [mpm_prefork:notice] [pid 6094] 
AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/7.0.21 configured 
-- resuming normal operations
[Thu Aug 10 10:43:26.957717 2017] [core:notice] [pid 6094] AH00094: 
Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Aug 10 10:43:30.881138 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] PHP Warning:  fileperms(): stat failed for 
/var/www/html/nextcloud/data/nextcloud.log in 
/var/www/html/nextcloud/lib/private/Log/File.php on line 122, referer: 
http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:30.881513 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] 
{"reqId":"WYxxEt at 5RZOxV@KXrqZiGAAAAAE","level":3,"time":"2017-08-10T14:43:30+00:00","remoteAddr":"192.168.160.12","user":"--","app":"PHP","method":"GET","url":"\\/nextcloud\\/index.php","message":"touch(): 
Unable to create file 
\\/var\\/www\\/html\\/nextcloud\\/config\\/config.php because Permission 
denied at 
\\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Config.php#239","userAgent":"Mozilla\\/5.0 
(X11; Fedora; Linux x86_64; rv:54.0) Gecko\\/20100101 
Firefox\\/54.0","version":""}, referer: http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:30.883376 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] PHP Warning:  fileperms(): stat failed for 
/var/www/html/nextcloud/data/nextcloud.log in 
/var/www/html/nextcloud/lib/private/Log/File.php on line 122, referer: 
http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:30.883642 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] 
{"reqId":"WYxxEt at 5RZOxV@KXrqZiGAAAAAE","level":3,"time":"2017-08-10T14:43:30+00:00","remoteAddr":"192.168.160.12","user":"--","app":"PHP","method":"GET","url":"\\/nextcloud\\/index.php","message":"fopen(\\/var\\/www\\/html\\/nextcloud\\/config\\/config.php): 
failed to open stream: No such file or directory at 
\\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Config.php#240","userAgent":"Mozilla\\/5.0 
(X11; Fedora; Linux x86_64; rv:54.0) Gecko\\/20100101 
Firefox\\/54.0","version":""}, referer: http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:30.885327 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] PHP Warning:  fileperms(): stat failed for 
/var/www/html/nextcloud/data/nextcloud.log in 
/var/www/html/nextcloud/lib/private/Log/File.php on line 122, referer: 
http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:30.885576 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] 
{"reqId":"WYxxEt at 5RZOxV@KXrqZiGAAAAAE","level":3,"time":"2017-08-10T14:43:30+00:00","remoteAddr":"192.168.160.12","user":"--","app":"PHP","method":"GET","url":"\\/nextcloud\\/index.php","message":"chmod(): 
No such file or directory at 
\\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Config.php#243","userAgent":"Mozilla\\/5.0 
(X11; Fedora; Linux x86_64; rv:54.0) Gecko\\/20100101 
Firefox\\/54.0","version":""}, referer: http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:31.026963 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] PHP Fatal error:  Class 'PDO' not found in 
/var/www/html/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php 
on line 172, referer: http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:31.030674 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] PHP Warning:  fileperms(): stat failed for 
/var/www/html/nextcloud/data/nextcloud.log in 
/var/www/html/nextcloud/lib/private/Log/File.php on line 122, referer: 
http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:31.031019 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] 
{"reqId":"WYxxEt at 5RZOxV@KXrqZiGAAAAAE","level":3,"time":"2017-08-10T14:43:31+00:00","remoteAddr":"192.168.160.12","user":"--","app":"PHP","method":"GET","url":"\\/nextcloud\\/index.php","message":"fileperms(): 
stat failed for \\/var\\/www\\/html\\/nextcloud\\/data\\/nextcloud.log 
at 
\\/var\\/www\\/html\\/nextcloud\\/lib\\/private\\/Log\\/File.php#122","userAgent":"Mozilla\\/5.0 
(X11; Fedora; Linux x86_64; rv:54.0) Gecko\\/20100101 
Firefox\\/54.0","version":""}, referer: http://192.168.192.5/nextcloud/
[Thu Aug 10 10:43:31.031376 2017] [:error] [pid 6096] [client 
192.168.160.12:52900] 
{"reqId":"WYxxEt at 5RZOxV@KXrqZiGAAAAAE","level":3,"time":"2017-08-10T14:43:31+00:00","remoteAddr":"192.168.160.12","user":"--","app":"PHP","method":"GET","url":"\\/nextcloud\\/index.php","message":"Class 
'PDO' not found at 
\\/var\\/www\\/html\\/nextcloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/DriverManager.php#172","userAgent":"Mozilla\\/5.0 
(X11; Fedora; Linux x86_64; rv:54.0) Gecko\\/20100101 
Firefox\\/54.0","version":""}, referer: http://192.168.192.5/nextcloud/

Looks like I have permission errors and going to figure out what is at 
fault...


>
> If it works I can tell you how to compile.
>
>
>
> Le 07/08/2017 à 22:01, Robert Moskowitz a écrit :
>> Much appreciated.  Do I erase the php 5.4 I installed?
>>
>> On 08/07/2017 03:58 PM, Nicolas Repentin wrote:
>>> I will check tomorrow if i can try to compile some php7 packages and 
>>> if it works i will give it to you.
>>> I just need to restart my pi2 on centos :p
>>>
>>>
>>> Le 7 août 2017 21:56:14 GMT+02:00, Robert Moskowitz 
>>> <rgm at htt-consult.com> a écrit :
>>>
>>>
>>>
>>>     On 08/07/2017 03:53 PM, Nicolas Repentin wrote:
>>>>     I got my packages for amd64 from webtatic :
>>>>     https://mirror.webtatic.com/yum/el7/
>>>>
>>>>     They provides srpm packages, maybe you can compil arm version
>>>>     from srpm with rpmbuild.. i've done it a lot for other packages
>>>>     (http://repo.shivaserv.fr)
>>>
>>>     And you are a better one than I.  Pretty much any time I try for
>>>     an rpmbuild it is a bit of a disaster.
>>>
>>>     If I don't get some reasonable answers, I will punt over to F26
>>>     for my cloud work for now.
>>>
>>>>
>>>>
>>>>     Le 7 août 2017 21:41:23 GMT+02:00, Robert Moskowitz
>>>>     <rgm at htt-consult.com> a écrit :
>>>>
>>>>         It wasn't until F21 that there were standard build process
>>>>         for Fedora-arm. From 18 - 20, they were all custom builds. 
>>>>         And F20:
>>>>
>>>>         http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Everything/armhfp/os/Packages/p/
>>>>
>>>>         Has php 5.5
>>>>
>>>>         I just went looking for Centos 7.4, but
>>>>         http://mirror.centos.org/centos/ only has to 7.3...
>>>>
>>>>         Bob
>>>>
>>>>         On 08/07/2017 02:17 PM, Nicolas Repentin wrote:
>>>>>         I don't know :s does the arm package exists on f19 ? I
>>>>>         think centos 7 is based on f19.
>>>>>
>>>>>
>>>>>
>>>>>         Le 7 août 2017 19:42:29 GMT+02:00, Robert Moskowitz
>>>>>         <rgm at htt-consult.com> a écrit :
>>>>>
>>>>>
>>>>>
>>>>>             On 08/07/2017 01:27 PM, Nicolas Repentin wrote:
>>>>>>             Oh, yes
>>>>>>             On my amd64 centos i have added php70 from another
>>>>>>             repo. Maybe try to check if there is the same for arm?
>>>>>
>>>>>             I suspect I could get it from a Fedora-arm repo, but
>>>>>             other than being compiled on armv7hl, will it cause
>>>>>             other problems with components?
>>>>>
>>>>>             I see that F26 has php 7.1:
>>>>>
>>>>>             http://mirrors.kernel.org/fedora/releases/26/Server/armhfp/os/Packages/p/
>>>>>
>>>>>             But is ok to install this?  What other challenges
>>>>>             might it cause?
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             Le 7 août 2017 19:22:09 GMT+02:00, Robert Moskowitz
>>>>>>             <rgm at htt-consult.com> a écrit :
>>>>>>
>>>>>>                 On 08/06/2017 02:40 PM, Nicolas Repentin wrote:
>>>>>>
>>>>>>                     Hi Don't bother with the package, install a
>>>>>>                     web and database server, and install owncloud
>>>>>>                     or nextcloud directly with the tar.gz from
>>>>>>                     the site. It will be easier, and you will be
>>>>>>                     able to update easily from the web interface
>>>>>>                     to the futures versions after. 
>>>>>>
>>>>>>
>>>>>>
>>>>>>                 nextcloud needs PHP7 not the PHP5.4 in Centos7.
>>>>>>
>>>>>>                 At
>>>>>>                 https://docs.nextcloud.com/server/11/admin_manual/installation/php_55_installation.html
>>>>>>
>>>>>>                 It says that Nextcloud 11 supports 5.4, but recommends 5.5 and how to
>>>>>>                 get it from the SCL library.  Is this working for armv7hl?
>>>>>>
>>>>>>                 Nextcloud 12 requires php 5.6.
>>>>>>
>>>>>>                 Ouch.
>>>>>>
>>>>>>                 Bob
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             -- 
>>>>>>             Nicolas 
>>>>>
>>>>>
>>>>>         -- 
>>>>>         Nicolas 
>>>>
>>>>
>>>>     -- 
>>>>     Nicolas 
>>>
>>>
>>> -- 
>>> Nicolas 
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20170810/54fdf641/attachment.html>


More information about the Arm-dev mailing list