<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I changed the subject to nextcloud....<br>
    <br>
    <div class="moz-cite-prefix">On 08/09/2017 07:24 AM, Nicolas
      Repentin wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:64eea21a-54ca-8172-cd42-0cc793ef28a9@shivaserv.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Hi ;)</p>
      <p>If you wan, you can add the following repo file with wget to
        /etc/yum.repos.d/</p>
      <p><a class="moz-txt-link-freetext"
          href="http://repo.shivaserv.fr/centos/7/shivaserv-various.repo"
          moz-do-not-send="true">http://repo.shivaserv.fr/centos/7/shivaserv-various.repo</a></p>
      <p>It's my own repo, I've put php70w on it ;)<br>
      </p>
      <p>The upload is not very big (above 6Mbits/s), but packages are
        not big.</p>
    </blockquote>
    <br>
    Downloaded and installed fine.  Followed instructions at:
<a class="moz-txt-link-freetext" href="https://www.rosehosting.com/blog/how-to-install-nextcloud-11-on-centos-7/">https://www.rosehosting.com/blog/how-to-install-nextcloud-11-on-centos-7/</a><br>
    <br>
    And did:<br>
    <br>
    wget
    <a class="moz-txt-link-freetext" href="https://download.nextcloud.com/server/releases/nextcloud-12.0.1.zip">https://download.nextcloud.com/server/releases/nextcloud-12.0.1.zip</a><br>
    unzip nextcloud-12.0.1.zip -d /var/www/html/<br>
    chown -R apache:apache /var/www/html/nextcloud/<br>
    <br>
    <br>
    Restarted httpd and in my browser entered ip/nextcloud  and got the
    following in error_log<br>
    <br>
    [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<br>
    [Thu Aug 10 10:43:26.957717 2017] [core:notice] [pid 6094] AH00094:
    Command line: '/usr/sbin/httpd -D FOREGROUND'<br>
    [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: <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [Thu Aug 10 10:43:30.881513 2017] [:error] [pid 6096] [client
    192.168.160.12:52900]
{"reqId":"WYxxEt@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:
    <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [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: <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [Thu Aug 10 10:43:30.883642 2017] [:error] [pid 6096] [client
    192.168.160.12:52900]
{"reqId":"WYxxEt@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:
    <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [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: <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [Thu Aug 10 10:43:30.885576 2017] [:error] [pid 6096] [client
    192.168.160.12:52900]
{"reqId":"WYxxEt@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:
    <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [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: <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [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: <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [Thu Aug 10 10:43:31.031019 2017] [:error] [pid 6096] [client
    192.168.160.12:52900]
{"reqId":"WYxxEt@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:
    <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    [Thu Aug 10 10:43:31.031376 2017] [:error] [pid 6096] [client
    192.168.160.12:52900]
{"reqId":"WYxxEt@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:
    <a class="moz-txt-link-freetext" href="http://192.168.192.5/nextcloud/">http://192.168.192.5/nextcloud/</a><br>
    <br>
    Looks like I have permission errors and going to figure out what is
    at fault...<br>
    <br>
    <br>
    <blockquote type="cite"
      cite="mid:64eea21a-54ca-8172-cd42-0cc793ef28a9@shivaserv.fr">
      <p><br>
      </p>
      <p>If it works I can tell you how to compile.</p>
      <p><br>
      </p>
      <br>
      <div class="moz-cite-prefix">Le 07/08/2017 à 22:01, Robert
        Moskowitz a écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:160b4818-d60f-14bc-28bc-119c6e5dddab@htt-consult.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        Much appreciated.  Do I erase the php 5.4 I installed?<br>
        <br>
        <div class="moz-cite-prefix">On 08/07/2017 03:58 PM, Nicolas
          Repentin wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:C5B93C47-66CB-4F24-8C8A-A0EEF466D2BF@shivaserv.fr">
          <meta http-equiv="Content-Type" content="text/html;
            charset=utf-8">
          I will check tomorrow if i can try to compile some php7
          packages and if it works i will give it to you. <br>
          I just need to restart my pi2 on centos :p<br>
          <br>
          <br>
          <div class="gmail_quote">Le 7 août 2017 21:56:14 GMT+02:00,
            Robert Moskowitz <a class="moz-txt-link-rfc2396E"
              href="mailto:rgm@htt-consult.com" moz-do-not-send="true"><rgm@htt-consult.com></a>
            a écrit :
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;"> <br>
              <br>
              <div class="moz-cite-prefix">On 08/07/2017 03:53 PM,
                Nicolas Repentin wrote:<br>
              </div>
              <blockquote type="cite"
                cite="mid:050CE6ED-4271-4B9F-A348-6F7FFE508DA1@shivaserv.fr">
                <meta http-equiv="Content-Type" content="text/html;
                  charset=utf-8">
                I got my packages for amd64 from webtatic :<br>
                <a href="https://mirror.webtatic.com/yum/el7"
                  moz-do-not-send="true">https://mirror.webtatic.com/yum/el7</a>/<br>
                <br>
                They provides srpm packages, maybe you can compil arm
                version from srpm with rpmbuild.. i've done it a lot for
                other packages (<a href="http://repo.shivaserv.fr"
                  moz-do-not-send="true">http://repo.shivaserv.fr</a>)<br>
              </blockquote>
              <br>
              And you are a better one than I.  Pretty much any time I
              try for an rpmbuild it is a bit of a disaster.<br>
              <br>
              If I don't get some reasonable answers, I will punt over
              to F26 for my cloud work for now.<br>
              <br>
              <blockquote type="cite"
                cite="mid:050CE6ED-4271-4B9F-A348-6F7FFE508DA1@shivaserv.fr">
                <br>
                <br>
                <div class="gmail_quote">Le 7 août 2017 21:41:23
                  GMT+02:00, Robert Moskowitz <a
                    class="moz-txt-link-rfc2396E"
                    href="mailto:rgm@htt-consult.com"
                    moz-do-not-send="true"><rgm@htt-consult.com></a>
                  a écrit :
                  <blockquote class="gmail_quote" style="margin: 0pt 0pt
                    0pt 0.8ex; border-left: 1px solid rgb(204, 204,
                    204); padding-left: 1ex;"> It wasn't until F21 that
                    there were standard build process for Fedora-arm. 
                    From 18 - 20, they were all custom builds.  And F20:<br>
                    <br>
                    <a class="moz-txt-link-freetext"
href="http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Everything/armhfp/os/Packages/p/"
                      moz-do-not-send="true">http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/20/Everything/armhfp/os/Packages/p/</a><br>
                    <br>
                    Has php 5.5<br>
                    <br>
                    I just went looking for Centos 7.4, but <a
                      class="moz-txt-link-freetext"
                      href="http://mirror.centos.org/centos/"
                      moz-do-not-send="true">http://mirror.centos.org/centos/</a>
                    only has to 7.3...<br>
                    <br>
                    Bob<br>
                    <br>
                    <div class="moz-cite-prefix">On 08/07/2017 02:17 PM,
                      Nicolas Repentin wrote:<br>
                    </div>
                    <blockquote type="cite"
                      cite="mid:810EB1F0-7BB2-494A-A0C5-C3A53F0B205C@shivaserv.fr">
                      <meta http-equiv="Content-Type"
                        content="text/html; charset=utf-8">
                      I don't know :s does the arm package exists on f19
                      ? I think centos 7 is based on f19. <br>
                      <br>
                      <br>
                      <br>
                      <div class="gmail_quote">Le 7 août 2017 19:42:29
                        GMT+02:00, Robert Moskowitz <a
                          class="moz-txt-link-rfc2396E"
                          href="mailto:rgm@htt-consult.com"
                          moz-do-not-send="true"><rgm@htt-consult.com></a>
                        a écrit :
                        <blockquote class="gmail_quote" style="margin:
                          0pt 0pt 0pt 0.8ex; border-left: 1px solid
                          rgb(204, 204, 204); padding-left: 1ex;"> <br>
                          <br>
                          <div class="moz-cite-prefix">On 08/07/2017
                            01:27 PM, Nicolas Repentin wrote:<br>
                          </div>
                          <blockquote type="cite"
                            cite="mid:F0059215-9B58-483E-BCCF-3117C0F263E7@shivaserv.fr">Oh,
                            yes <br>
                            On my amd64 centos i have added php70 from
                            another repo. Maybe try to check if there is
                            the same for arm?<br>
                          </blockquote>
                          <br>
                          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?<br>
                          <br>
                          I see that F26 has php 7.1:<br>
                          <br>
                          <a class="moz-txt-link-freetext"
href="http://mirrors.kernel.org/fedora/releases/26/Server/armhfp/os/Packages/p/"
                            moz-do-not-send="true">http://mirrors.kernel.org/fedora/releases/26/Server/armhfp/os/Packages/p/</a><br>
                          <br>
                          But is ok to install this?  What other
                          challenges might it cause?<br>
                          <br>
                          <blockquote type="cite"
                            cite="mid:F0059215-9B58-483E-BCCF-3117C0F263E7@shivaserv.fr">
                            <br>
                            <br>
                            <br>
                            <div class="gmail_quote">Le 7 août 2017
                              19:22:09 GMT+02:00, Robert Moskowitz <a
                                class="moz-txt-link-rfc2396E"
                                href="mailto:rgm@htt-consult.com"
                                moz-do-not-send="true"><rgm@htt-consult.com></a>
                              a écrit :
                              <blockquote class="gmail_quote"
                                style="margin: 0pt 0pt 0pt 0.8ex;
                                border-left: 1px solid rgb(204, 204,
                                204); padding-left: 1ex;">
                                <pre class="k9mail">On 08/06/2017 02:40 PM, Nicolas Repentin wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> 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.
</blockquote>

nextcloud needs PHP7 not the PHP5.4 in Centos7.

At 
<a href="https://docs.nextcloud.com/server/11/admin_manual/installation/php_55_installation.html" moz-do-not-send="true">https://docs.nextcloud.com/server/11/admin_manual/installation/php_55_installation.html</a>

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



</pre>
                              </blockquote>
                            </div>
                            <br>
                            -- <br>
                            Nicolas </blockquote>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                      -- <br>
                      Nicolas </blockquote>
                    <br>
                  </blockquote>
                </div>
                <br>
                -- <br>
                Nicolas </blockquote>
              <br>
            </blockquote>
          </div>
          <br>
          -- <br>
          Nicolas </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>