<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    hi,<br>
    ok, that helped.<br>
    but the installation docu has to be updated:<br>
    <a class="moz-txt-link-freetext" href="http://owncloud.org/support/install/">http://owncloud.org/support/install/</a> states:<br>
    <h4>2.2. Set the directory permissions</h4>
    The owner of your webserver must own the apps/, data/ and config/
    directories in your ownCloud install. You can do this by running the
    following command for the apps, data and config directories…<br>
    <br>
    <br>
    and most worse:<br>
    it disabled the ldap-module and forgot about the ldap-config. is
    that expacted behavior?<br>
    if so, where is the docu/warning about this?<br>
    <br>
    digging into that, it deleted the mysql-config!<br>
    <br>
    propbably, there came a new config with the update, which destroyed
    the old one. and the updater did not make any backup of the config
    file.<br>
    WTF!<br>
    <br>
    I'm not very happy with this!!!<br>
    günter<br>
    <br>
    <br>
    <br>
    <br>
    Am 15.11.2012 08:56, schrieb Victor Dubiniuk:
    <blockquote
cite="mid:CA+UHsBsraLMk=_Oavbrp9QNV78LUgUSqP9eYqYAZ9k3xUq7MXg@mail.gmail.com"
      type="cite">
      <div>Hi,</div>
      <div><br>
      </div>
      please check permissions inside 3rdparty/Archive. I haven't added
      check yet, but all ownCloud  directories and files excluding the
      'data' directory should be writable for the user that is used to
      run PHP the script.
      <div>
        <br>
      </div>
      <div>---</div>
      <div>Victor<br>
        <div><br>
          <br>
          <div class="gmail_quote">On Thu, Nov 15, 2012 at 6:04 AM,
            chymian <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:chymian@gmx.net" target="_blank">chymian@gmx.net</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              hi vic,<br>
              thx for the quick answer,<br>
              <br>
              but I had no luck.<br>
              <br>
              doing the quickfix with changing line 37, threw another
              error:<br>
              <br>
              ==> xxxx.xxxx.net-error.log <==<br>
              [Thu Nov 15 02:33:00 2012] [error] [client 46.252.25.22]
              client denied<br>
              by server configuration: /srv/www/<a
                moz-do-not-send="true"
                href="http://xxxx.xxxx.net/data/htaccesstest.txt"
                target="_blank">xxxx.xxxx.net/data/htaccesstest.txt</a><br>
              [Thu Nov 15 03:17:04 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              PHP Parse<br>
              error:  syntax error, unexpected '[', expecting ')' in<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/apps/updater/appinfo/app.php"
                target="_blank">xxxx.xxxx.net/apps/updater/appinfo/app.php</a>
              on line 38<br>
              [Thu Nov 15 03:17:04 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              File does not<br>
              exist: /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/favicon.ico" target="_blank">xxxx.xxxx.net/favicon.ico</a><br>
              [Thu Nov 15 03:17:04 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              PHP Parse<br>
              error:  syntax error, unexpected '[', expecting ')' in<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/apps/updater/appinfo/app.php"
                target="_blank">xxxx.xxxx.net/apps/updater/appinfo/app.php</a>
              on line 38<br>
              [Thu Nov 15 03:17:04 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              File does not<br>
              exist: /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/favicon.ico" target="_blank">xxxx.xxxx.net/favicon.ico</a><br>
              [Thu Nov 15 03:17:04 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              PHP Parse<br>
              error:  syntax error, unexpected '[', expecting ')' in<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/apps/updater/appinfo/app.php"
                target="_blank">xxxx.xxxx.net/apps/updater/appinfo/app.php</a>
              on line 38<br>
              [Thu Nov 15 03:17:25 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              PHP Parse<br>
              error:  syntax error, unexpected '[', expecting ')' in<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/apps/updater/appinfo/app.php"
                target="_blank">xxxx.xxxx.net/apps/updater/appinfo/app.php</a>
              on line 38<br>
              [Thu Nov 15 03:17:32 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              PHP Parse<br>
              error:  syntax error, unexpected '[', expecting ')' in<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/apps/updater/appinfo/app.php"
                target="_blank">xxxx.xxxx.net/apps/updater/appinfo/app.php</a>
              on line 38<br>
              [Thu Nov 15 03:17:42 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              PHP Parse<br>
              error:  syntax error, unexpected '[', expecting ')' in<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/apps/updater/appinfo/app.php"
                target="_blank">xxxx.xxxx.net/apps/updater/appinfo/app.php</a>
              on line 38, referer:<br>
              <a moz-do-not-send="true" href="https://xxxx.xxxx.net/"
                target="_blank">https://xxxx.xxxx.net/</a><br>
              [Thu Nov 15 03:17:52 2012] [error] [client <a
                moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>]
              PHP Parse<br>
              error:  syntax error, unexpected '[', expecting ')' in<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxx.xxxx.net/apps/updater/appinfo/app.php"
                target="_blank">xxxx.xxxx.net/apps/updater/appinfo/app.php</a>
              on line 38, referer:<br>
              <a moz-do-not-send="true" href="https://xxxx.xxxx.net/"
                target="_blank">https://xxxx.xxxx.net/</a><br>
              <br>
              <br>
              replacing the complete updater with the provided zip:<br>
              the update started, the progress bar went half way thru,
              then stopped<br>
              with an error:<br>
              Error: Failed to create backup<br>
              <br>
              OC-LOG:<br>
              Error    updaterUnable copy /srv/www/<a
                moz-do-not-send="true"
                href="http://xxxx.xxxx.net/3rdparty/Archive"
                target="_blank">xxxx.xxxx.net/3rdparty/Archive</a> to<br>
              /srv/www/<a moz-do-not-send="true"
                href="http://xxxxx.xxxxx.net/backup/tmp/3rdparty/Archive"
                target="_blank">xxxxx.xxxxx.net/backup/tmp/3rdparty/Archive</a>
                 November 15,<br>
              2012, 03:55<br>
              <br>
              nothing special in apache-logfile...<br>
              $ <a moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a>
              - - [15/Nov/2012:03:39:48 +0100] "POST<br>
              /core/ajax/translations.php HTTP/1.1" 200 538<br>
              "<a moz-do-not-send="true"
                href="https://xxxx.xxxx.net/settings/admin.php"
                target="_blank">https://xxxx.xxxx.net/settings/admin.php</a>"
              "Mozilla/5.0 (X11; Linux<br>
              x86_64; rv:10.0.10) Gecko/20100101 Firefox/10.0.10
              Iceweasel/10.0.10"<br>
              <a moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a> -
              - [15/Nov/2012:03:39:48 +0100] "POST<br>
              /?app=updater&getfile=ajax/admin.php HTTP/1.1" 200 490<br>
              "<a moz-do-not-send="true"
                href="https://xxxx.xxxx.net/settings/admin.php"
                target="_blank">https://xxxx.xxxx.net/settings/admin.php</a>"
              "Mozilla/5.0 (X11; Linux<br>
              x86_64; rv:10.0.10) Gecko/20100101 Firefox/10.0.10
              Iceweasel/10.0.10"<br>
              <a moz-do-not-send="true" href="tel:178.14.233.173"
                value="+17814233173" target="_blank">178.14.233.173</a> -
              - [15/Nov/2012:03:39:58 +0100] "POST<br>
              /?app=updater&getfile=ajax/admin.php HTTP/1.1" 200 522<br>
              "<a moz-do-not-send="true"
                href="https://xxxx.xxxx.net/settings/admin.php"
                target="_blank">https://xxxx.xxxx.net/settings/admin.php</a>"
              "Mozilla/5.0 (X11; Linux<br>
              x86_64; rv:10.0.10) Gecko/20100101 Firefox/10.0.10
              Iceweasel/10.0.10"<br>
              <br>
              it created 2 directories within backup/<br>
              <br>
              $ du */*<br>
              11M     4.90.2-422dd188/3rdparty<br>
              23M     4.90.2-422dd188/apps<br>
              14M     4.90.2-422dd188/core<br>
              11M     4.90.3/3rdparty<br>
              20M     4.90.3/apps<br>
              14M     4.90.3/core<br>
              90M     total<br>
              <br>
              <br>
              btw, I'm using owncloud 4.5.1a<br>
              <br>
              did I miss something?<br>
              <br>
              TIA<br>
              günter<br>
              <br>
              <br>
              Am 14.11.2012 23:08, schrieb Victor Dubiniuk:<br>
              <div>> Hi Günter,<br>
                ><br>
                > Sorry for that.<br>
                > It's already fixed in a new version that is shipped
                with 4.5.2. The<br>
                > simplest way to proceed is to change line #37<br>
              </div>
              > in *updater/appinfo/app.php:*<br>
              <div>><br>
                > - 'apps' => \OC::$APPSROOT . DIRECTORY_SEPARATOR
                . 'apps',<br>
                > + 'apps' => \OC::APPSROOTS[0]['path'] .
                DIRECTORY_SEPARATOR . 'apps',<br>
                > Alternatively you can upload the recent Updater. It
                doesn't require to<br>
                > delete the temporary directory as well.<br>
                > I pushed it here <a moz-do-not-send="true"
                  href="https://github.com/VicDeo/updater-025"
                  target="_blank">https://github.com/VicDeo/updater-025</a><br>
                ><br>
                ><br>
                >     [Wed Nov 14 21:44:39 2012] [error] [client
                xx.xxx.xxx.xx] client<br>
                >     denied<br>
                >     by server configuration:<br>
                >     /srv/www/<a moz-do-not-send="true"
                  href="http://xxxxx.xxxxx.net/data/htaccesstest.txt"
                  target="_blank">xxxxx.xxxxx.net/data/htaccesstest.txt</a><br>
              </div>
              >     <<a moz-do-not-send="true"
                href="http://xxxxx.xxxxx.net/data/htaccesstest.txt"
                target="_blank">http://xxxxx.xxxxx.net/data/htaccesstest.txt</a>><br>
              <div>>     which came from the server-ip as client
                itself.<br>
                ><br>
                ><br>
                > it's ok. This location should not be accessible
                from the web. There is<br>
                > a self-check implemented to prevent the user data
                from being<br>
                > compromised and your log says that your data
                directory is safe.<br>
                ><br>
                > ---<br>
                > Victor<br>
                ><br>
                ><br>
                > On Wed, Nov 14, 2012 at 11:54 PM, chymian <<a
                  moz-do-not-send="true" href="mailto:chymian@gmx.net"
                  target="_blank">chymian@gmx.net</a><br>
              </div>
              <div>> <mailto:<a moz-do-not-send="true"
                  href="mailto:chymian@gmx.net" target="_blank">chymian@gmx.net</a>>>
                wrote:<br>
                ><br>
                >     hi,<br>
                >     trying to update to 4.5.2 with the updater.php
                it threw me an<br>
                >     error first:<br>
                >     Unable to fetch package.<br>
                ><br>
                ><br>
                >     the apache error-logs stated:<br>
                ><br>
                >      Wed Nov 14 21:31:55 2012] [error] [client
                178.14.134.80] PHP Warning:<br>
                >     mkdir(): File exists in<br>
                >     /srv/www/<a moz-do-not-send="true"
                  href="http://xxxxx.xxxxx.net/apps/updater/lib/downloader.php"
                  target="_blank">xxxxx.xxxxx.net/apps/updater/lib/downloader.php</a><br>
              </div>
              >     <<a moz-do-not-send="true"
                href="http://xxxxx.xxxxx.net/apps/updater/lib/downloader.php"
                target="_blank">http://xxxxx.xxxxx.net/apps/updater/lib/downloader.php</a>>
              on line 45,<br>
              <div>>     referer: <a moz-do-not-send="true"
                  href="https://xxxxx.xxxxx.net/settings/admin.php"
                  target="_blank">https://xxxxx.xxxxx.net/settings/admin.php</a><br>
                ><br>
                >     found out that it was trying to create the
                "backup/..." directory,<br>
                >     which<br>
                >     did exist, as leftover from a former update
                attempt.<br>
                ><br>
                >     after moving that out of the way, I got the
                following error:<br>
                ><br>
                ><br>
                >     [Wed Nov 14 21:37:20 2012] [error] [client
                178.14.134.80] PHP Fatal<br>
                >     error:  Access to undeclared static property:
                OC::$APPSROOT in<br>
                >     /srv/www/<a moz-do-not-send="true"
                  href="http://xxxxx.xxxxx.net/apps/updater/appinfo/app.php"
                  target="_blank">xxxxx.xxxxx.net/apps/updater/appinfo/app.php</a><br>
              </div>
              >     <<a moz-do-not-send="true"
                href="http://xxxxx.xxxxx.net/apps/updater/appinfo/app.php"
                target="_blank">http://xxxxx.xxxxx.net/apps/updater/appinfo/app.php</a>>
              on line 37,<br>
              <div>>     referer: <a moz-do-not-send="true"
                  href="https://xxxxxx.xxxxxx.net/settings/admin.php"
                  target="_blank">https://xxxxxx.xxxxxx.net/settings/admin.php</a><br>
                ><br>
                >     and the updater was staying on "Update in
                Progress", not doing<br>
                >     anything<br>
                >     else.<br>
                ><br>
                >     reloading the page and started updater again,
                and it went back to the<br>
                >     first error.<br>
                ><br>
                >     so, what to do?<br>
                ><br>
                ><br>
                >     don't know, whether the error further up in the
                apache log has<br>
                >     anything<br>
                >     to do with it:<br>
                ><br>
                >     [Wed Nov 14 21:44:39 2012] [error] [client
                xx.xxx.xxx.xx] client<br>
                >     denied<br>
                >     by server configuration:<br>
                >     /srv/www/<a moz-do-not-send="true"
                  href="http://xxxxx.xxxxx.net/data/htaccesstest.txt"
                  target="_blank">xxxxx.xxxxx.net/data/htaccesstest.txt</a><br>
              </div>
              >     <<a moz-do-not-send="true"
                href="http://xxxxx.xxxxx.net/data/htaccesstest.txt"
                target="_blank">http://xxxxx.xxxxx.net/data/htaccesstest.txt</a>><br>
              <div>><br>
                >     which came from the server-ip as client itself.<br>
                ><br>
                ><br>
                >     TIA<br>
                >     günter<br>
                >     _______________________________________________<br>
                >     Owncloud mailing list<br>
              </div>
              >     <a moz-do-not-send="true"
                href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a>
              <mailto:<a moz-do-not-send="true"
                href="mailto:Owncloud@kde.org" target="_blank">Owncloud@kde.org</a>><br>
              >     <a moz-do-not-send="true"
                href="https://mail.kde.org/mailman/listinfo/owncloud"
                target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
              ><br>
              ><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>