<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Leider ist All nicht alles. Siehe Apache Doku :(</div><div dir="ltr"><br></div><div dir="ltr">Viele Grüße, Andreas </div><div dir="ltr"><br>Am 16.04.2019 um 21:45 schrieb Claas H. Köhler <<a href="mailto:claashk@web.de">claashk@web.de</a>>:<br><br></div><blockquote type="cite"><div dir="ltr">
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  
    <div class="moz-cite-prefix">Hi Frank,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Guter Tipp, danke. Das hat
      funktioniert. Gibt es einen Grund, warum Ihr die .htaccess Datei
      verwendet, anstatt die Anweisungen direkt in den Virtuellen Host
      zu schreiben ? Jetzt verstehe ich wenigstens auch, wo das rewrite
      herkommt :-)<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Was macht das 'AuthConfig' hinter 'All'
      ? 'All' ist doch schon alles, inkl. AuthConfig oder ?</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Viele Grüße</div>
    <div class="moz-cite-prefix">Claas<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 4/16/19 9:17 PM, Frank Richter
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAD+U_OChZ7yiZ78yig3pB_bXuRkCOKNB6fvuudOPLWFQti4U2g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Probier mal
        <div dir="auto"><br>
        </div>
        <div dir="auto"><span style="border-radius:2px">AllowOverride
            All AuthConfig</span> </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Claas H. Köhler <<a href="mailto:claashk@web.de" moz-do-not-send="true">claashk@web.de</a>>
          schrieb am Di., 16. Apr. 2019, 21:08:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">
            <div class="m_-6433323668431521111moz-cite-prefix">Hallo und
              danke für die schnelle Rückmeldung-</div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">mod_rewrite
              ist enabled. Ich nutze es aber in der Apache vhost
              Konfiguration nicht. Wird das intern verwendet ?</div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">tail
              error_log:</div>
            <div class="m_-6433323668431521111moz-cite-prefix">[Tue Apr
              16 15:03:18.767504 2019] [mpm_prefork:notice] [pid 10042]
              AH00163: Apache/2.4.33 (Linux/SUSE) OpenSSL/1.1.0i-fips
              PHP/7.2.5 configured -- resuming normal operations<br>
              [Tue Apr 16 15:03:18.767656 2019] [core:notice] [pid
              10042] AH00094: Command line: '/usr/sbin/httpd-prefork -D
              SYSCONFIG -C PidFile /var/run/httpd.pid -C Include
              /etc/apache2/sysconfig.d//loadmodule.conf -C Include
              /etc/apache2/sysconfig.d//global.conf -f
              /etc/apache2/httpd.conf -c Include
              /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D
              FOREGROUND'<br>
              [Tue Apr 16 15:04:39.727973 2019] [mpm_prefork:notice]
              [pid 10042] AH00170: caught SIGWINCH, shutting down
              gracefully<br>
              [Tue Apr 16 15:04:40.024914 2019] [ssl:warn] [pid 10069]
              AH01873: Init: Session Cache is not configured [hint:
              SSLSessionCache]<br>
              [Tue Apr 16 15:04:40.054615 2019] [mpm_prefork:notice]
              [pid 10069] AH00163: Apache/2.4.33 (Linux/SUSE)
              OpenSSL/1.1.0i-fips PHP/7.2.5 configured -- resuming
              normal operations<br>
              [Tue Apr 16 15:04:40.054760 2019] [core:notice] [pid
              10069] AH00094: Command line: '/usr/sbin/httpd-prefork -D
              SYSCONFIG -C PidFile /var/run/httpd.pid -C Include
              /etc/apache2/sysconfig.d//loadmodule.conf -C Include
              /etc/apache2/sysconfig.d//global.conf -f
              /etc/apache2/httpd.conf -c Include
              /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D
              FOREGROUND'<br>
              [Tue Apr 16 15:52:17.249840 2019] [mpm_prefork:notice]
              [pid 10069] AH00170: caught SIGWINCH, shutting down
              gracefully<br>
              [Tue Apr 16 15:52:17.541720 2019] [ssl:warn] [pid 10375]
              AH01873: Init: Session Cache is not configured [hint:
              SSLSessionCache]<br>
              [Tue Apr 16 15:52:17.570448 2019] [mpm_prefork:notice]
              [pid 10375] AH00163: Apache/2.4.33 (Linux/SUSE)
              OpenSSL/1.1.0i-fips PHP/7.2.5 configured -- resuming
              normal operations<br>
              [Tue Apr 16 15:52:17.570620 2019] [core:notice] [pid
              10375] AH00094: Command line: '/usr/sbin/httpd-prefork -D
              SYSCONFIG -C PidFile /var/run/httpd.pid -C Include
              /etc/apache2/sysconfig.d//loadmodule.conf -C Include
              /etc/apache2/sysconfig.d//global.conf -f
              /etc/apache2/httpd.conf -c Include
              /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D
              FOREGROUND'<br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">php7 -v</div>
            <div class="m_-6433323668431521111moz-cite-prefix">PHP 7.2.5
              (cli) ( NTS )<br>
              Copyright (c) 1997-2018 The PHP Group<br>
              Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend
              Technologies</div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">git log</div>
            <div class="m_-6433323668431521111moz-cite-prefix">commit
              ac590a45eef1508586e086a42d6b9412a3f9f232 (HEAD ->
              master, origin/master, origin/HEAD)<br>
              Author: andig <a class="m_-6433323668431521111moz-txt-link-rfc2396E" href="mailto:cpuidle@gmx.de" target="_blank" rel="noreferrer" moz-do-not-send="true"><cpuidle@gmx.de></a><br>
              Date:   Fri Apr 5 19:57:31 2019 +0200<br>
              <br>
                  Fix missing config file for docker<br>
              <br>
              commit 07deff71429e5ca6eb5199c5d88a969091855037<br>
              Author: andig <a class="m_-6433323668431521111moz-txt-link-rfc2396E" href="mailto:cpuidle@gmx.de" target="_blank" rel="noreferrer" moz-do-not-send="true"><cpuidle@gmx.de></a><br>
              Date:   Thu Apr 4 19:18:43 2019 +0200<br>
              <br>
                  Upgrade dependencies (#755)<br>
              <br>
              commit 0789ac3674c313b55886ffac809a2c6e0be85ade<br>
              Author: andig <a class="m_-6433323668431521111moz-txt-link-rfc2396E" href="mailto:cpuidle@gmx.de" target="_blank" rel="noreferrer" moz-do-not-send="true"><cpuidle@gmx.de></a><br>
              Date:   Thu Apr 4 17:36:34 2019 +0200<br>
              <br>
                  Improve sanity checks (#757)<br>
              <br>
              commit f9a4a9161541bb724a05aa59688b45c16aff4817<br>
              Author: andig <a class="m_-6433323668431521111moz-txt-link-rfc2396E" href="mailto:cpuidle@gmx.de" target="_blank" rel="noreferrer" moz-do-not-send="true"><cpuidle@gmx.de></a><br>
              Date:   Thu Apr 4 10:45:54 2019 +0200<br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">[...]</div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">php7
              composer.phar update</div>
            <div class="m_-6433323668431521111moz-cite-prefix">Loading
              composer repositories with package information<br>
              Updating dependencies (including require-dev)<br>
              Package operations: 0 installs, 8 updates, 0 removals<br>
                - Updating symfony/console (v4.2.5 => v4.2.6):
              Downloading (100%)         <br>
                - Updating symfony/debug (v4.2.5 => v4.2.6):
              Downloading (100%)         <br>
                - Updating symfony/http-foundation (v4.2.5 =>
              v4.2.6): Downloading (100%)         <br>
                - Updating symfony/event-dispatcher (v4.2.5 =>
              v4.2.6): Downloading (100%)         <br>
                - Updating symfony/http-kernel (v4.2.5 => v4.2.6):
              Downloading (100%)         <br>
                - Updating symfony/routing (v4.2.5 => v4.2.6):
              Downloading (100%)         <br>
                - Updating symfony/yaml (v4.2.5 => v4.2.6):
              Downloading (100%)         <br>
                - Updating symfony/process (v4.2.5 => v4.2.6):
              Downloading (100%)         <br>
              Writing lock file<br>
              Generating autoload files</div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">virtual
              host config:</div>
            <div class="m_-6433323668431521111moz-cite-prefix"><VirtualHost
              *:80><br>
                  ServerAdmin <a class="m_-6433323668431521111moz-txt-link-abbreviated" href="mailto:webmaster@home.net" target="_blank" rel="noreferrer" moz-do-not-send="true">webmaster@home.net</a><br>
                  ServerName 192.168.178.5<br>
                  ServerAlias localhost<br>
              <br>
                  # DocumentRoot: The directory out of which you will
              serve your<br>
                  # documents. By default, all requests are taken from
              this directory, but<br>
                  # symbolic links and aliases may be used to point to
              other locations.<br>
                  DocumentRoot /srv/www/volkszaehler/htdocs<br>
              <br>
                  # if not specified, the global error log is used<br>
                  #ErrorLog
              /var/log/apache2/<a href="http://dummy-host.example.com">dummy-host.example.com</a>-error_log<br>
                  #CustomLog
              /var/log/apache2/<a href="http://dummy-host.example.com">dummy-host.example.com</a>-access_log
              combined<br>
              <br>
                  # don't loose time with IP address lookups<br>
                  HostnameLookups Off<br>
              <br>
                  # needed for named virtual hosts<br>
                  UseCanonicalName Off<br>
              <br>
                  # configures the footer on server-generated documents<br>
                  ServerSignature On<br>
                  <IfModule mod_userdir.c><br>
                      # Note that the name of the user directory
              ("public_html") cannot simply be<br>
                      # changed here, since it is a compile time
              setting. The apache package<br>
                      # would have to be rebuilt. You could work around
              by deleting<br>
                      # /usr/sbin/suexec, but then all scripts from the
              directories would be<br>
                      # executed with the UID of the webserver.<br>
                      UserDir public_html<br>
                      # The actual configuration of the directory is in<br>
                      # /etc/apache2/mod_userdir.conf.<br>
                      Include /etc/apache2/mod_userdir.conf<br>
                      # You can, however, change the ~ if you find it
              awkward, by mapping e.g.<br>
                      # <a class="m_-6433323668431521111moz-txt-link-freetext" href="http://www.example.com/users/karl-heinz/" target="_blank" rel="noreferrer" moz-do-not-send="true">http://www.example.com/users/karl-heinz/</a>
              --> /home/karl-heinz/public_html/<br>
                      #AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*)
              /home/$1/public_html/$2<br>
                  </IfModule><br>
              <br>
                  #<br>
                  # Volkszähler directory config<br>
                  #<br>
                  <Directory "/srv/www/volkszaehler/htdocs"><br>
                      # The Options directive is both complicated and
              important.  Please see<br>
                      # <a class="m_-6433323668431521111moz-txt-link-freetext" href="http://httpd.apache.org/docs/2.4/mod/core.html#options" target="_blank" rel="noreferrer" moz-do-not-send="true">http://httpd.apache.org/docs/2.4/mod/core.html#options</a><br>
                      # for more information.<br>
                      #<br>
                      Options Indexes FollowSymLinks<br>
              <br>
                      #<br>
                      # AllowOverride controls what directives may be
              placed in .htaccess files.<br>
                      # It can be "All", "None", or any combination of
              the keywords:<br>
                      #   Options FileInfo AuthConfig Limit<br>
                      #<br>
                      AllowOverride None<br>
                     #<br>
                      # Controls who can get stuff from this server.<br>
                      #<br>
                      Require all granted<br>
                  </Directory><br>
              <br>
              </VirtualHost><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">a2enmod
              -l</div>
            <div class="m_-6433323668431521111moz-cite-prefix">actions
              alias auth_basic authn_core authn_file authz_host
              authz_groupfile authz_core authz_user autoindex dir env
              expires include log_config mime negotiation setenvif ssl
              socache_shmcb reqtimeout php7 rewrite<br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <p>Optoins.js und die httpd.conf habe ich nicht verändert.
              Das identische setup funktioniert, wenn ich eine ältere
              Version laufen lasse</p>
            <p>git log</p>
            <p>commit f75b4c7ac676d01480cad83a96e025d83b9f2f60 (HEAD
              -> master, origin/master, origin/HEAD)<br>
              Merge: 341bf0f bdd0ec3<br>
              Author: andig <a class="m_-6433323668431521111moz-txt-link-rfc2396E" href="mailto:cpuidle@gmx.de" target="_blank" rel="noreferrer" moz-do-not-send="true"><cpuidle@gmx.de></a><br>
              Date:   Tue Jan 22 22:33:33 2019 +0100<br>
              [...]</p>
            <p>Meinst Du mit dem Screenshot der Browserkonsole einen
              Screenshot vom Fenster, in dem der VZ Server geöffnet ist
              ?<br>
            </p>
            <div class="m_-6433323668431521111moz-cite-prefix">Gruß</div>
            <div class="m_-6433323668431521111moz-cite-prefix">Claas<br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix"><br>
            </div>
            <div class="m_-6433323668431521111moz-cite-prefix">On
              4/16/19 8:25 PM, Frank Richter wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="auto">Fehlt dem Apache evtl. mod_rewrite?
                <div dir="auto"><br>
                </div>
                <div dir="auto">Grüße</div>
                <div dir="auto">Frank</div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">Andreas Goetz <<a href="mailto:cpuidle@gmail.com" target="_blank" rel="noreferrer" moz-do-not-send="true">cpuidle@gmail.com</a>>
                  schrieb am Di., 16. Apr. 2019, 18:34:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo
                  Claas,<br>
                  <br>
                  Damit wir nicht Kaffeesatz lesen müssen:<br>
                  <br>
                  - Screenshot der Browserkonsole<br>
                  - Ausgabe tail /var/log/httpd/error.log (oder apache/
                  ?)<br>
                  - Ausgabe php -v<br>
                  - Ausgabe git log<br>
                  - Ausgabe composer update<br>
                  - /etc/httpd.conf (richtige Datei?)<br>
                  - falls modifiziert: options.js<br>
                  <br>
                  Viele Grüße, <br>
                  Andreas<br>
                  <br>
                  > On 16. Apr 2019, at 17:26, Claas H. Köhler <<a href="mailto:claashk@web.de" rel="noreferrer
                    noreferrer" target="_blank" moz-do-not-send="true">claashk@web.de</a>>
                  wrote:<br>
                  > <br>
                  > Hallo,<br>
                  > <br>
                  > Zunächst mal ein großes Kompliment an alle, die
                  an der Volkszähler<br>
                  > Software mitarbeiten. Ich habe das Projekt vor
                  kurzem entdeckt und finde<br>
                  > es großartig.<br>
                  > <br>
                  > Gestern habe ich versucht, den neuen master aus
                  dem git repository zu<br>
                  > installieren. Ich nutze dabei Apache unter
                  Opensuse Leap 15.0.<br>
                  > <br>
                  > Die Middleware scheint dabei zu laufen,
                  allerdings erhalte ich beim<br>
                  > Aufrufen der Seite die Fehlermeldung "Network
                  Error: Not found". Ich<br>
                  > vermute, dass dies ein Problem beim Zugriff auf
                  die mysql Datenbank ist,<br>
                  > denn das Verhalten ändert sich nicht, wenn ich
                  z.B. fehlerhafte<br>
                  > Einstellungen in der etc/config.yaml vornehme.
                  Ich habe versucht, alle<br>
                  > Einstellungen so gut es geht aus der alten php
                  config Datei zu<br>
                  > übernehmen. Allerdings konnte ich kein Äquivalent
                  finden, um den push<br>
                  > server zu deaktivieren. Könnte das ein Problem
                  sein ?<br>
                  > <br>
                  > Außerdem habe ich versucht, debugging über
                  "debug: true" zu aktivieren.<br>
                  > Allerdings sehe ich im Browser keine Debug
                  Informationen. Wo muss ich<br>
                  > die ggf suchen ?<br>
                  > <br>
                  > Ich wäre für jeden Hinweis dankbar.<br>
                  > <br>
                  > Viele Grüße<br>
                  > <br>
                  > Claas<br>
                  > <br>
                  > P.S. Ich bin recht sicher, dass DB Nutzer und
                  login in der config.yaml<br>
                  > korrekt sind und der mariaDB Server läuft. Habe
                  auch die mariaDB root<br>
                  > Zugangsdaten probiert, aber ohne Erfolg.<br>
                  > <br>
                  <br>
                </blockquote>
              </div>
            </blockquote>
            <p><br>
            </p>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <p><br>
    </p>
  

</div></blockquote></body></html>