<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hallo,<div class=""><br class=""></div><div class="">So ich habs jetzt nicht hinbekommen.</div><div class=""><br class=""></div><div class="">Was genau in der .htaccess drin stehen muss weiß ich leider nicht. Hier mal der inhalt davon:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># allow access</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><IfModule mod_authz_core.c></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Require all granted</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></IfModule></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># disable negotiation to avoid rewrite rule conflicts</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><IfModule mod_negotiation.c></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># Options -MultiViews</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></IfModule></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""># enable this rule if using ppm middleware</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><IfModule mod_proxy.c></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> # RewriteEngine On</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> # RewriteRule ^middleware(.php)?(/.*)? <a href="http://localhost:8080$2" class="">http://localhost:8080$2</a> [P]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> # RewriteRule ^api(/.*)? <a href="http://localhost:8080$1" class="">http://localhost:8080$1</a> [P]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></IfModule></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><IfModule mod_rewrite.c></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> RewriteEngine On</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> RewriteRule ^middleware(/.*)? middleware.php$1 [L]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> RewriteRule ^api(/.*)? middleware.php$1 [L]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> # frontend alias</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> RewriteRule ^frontend/(.*) $1 [L]</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></IfModule></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><IfModule mod_headers.c></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> Header set Content-Security-Policy "default-src 'self'; connect-src * ws: wss: http: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;"</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></IfModule></span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">desweiteren habe ich nach der Anleitung im wiki middelware installieren -> Alternativ: Apache als Server, folgendes gemacht</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sudo a2enmod rewrite -> Ergebnis </span><span style="font-family: Menlo; font-size: 11px;" class="">Module rewrite already enabled</span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">sudo nano /etc/apache2/apache2.conf </span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">Den block </span></font><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(251, 250, 249);" class=""><Directory /var/www/></span></div><pre class="code" style="margin-top: 0px; margin-bottom: 1.4em; padding: 0.7em 1em; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 14px; direction: ltr; background-color: rgb(251, 250, 249); color: rgb(51, 51, 51); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; overflow: auto; overflow-wrap: normal; border: 1px solid rgb(204, 204, 204); font-variant-ligatures: normal; orphans: 2; widows: 2;"> Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory></pre><div class="">in </div><div class=""><br class=""></div><div class=""><div class=""><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(251, 250, 249);" class=""><Directory /var/www/></span></div><pre class="code" style="margin-top: 0px; margin-bottom: 1.4em; padding: 0.7em 1em; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Bitstream Vera Sans Mono', 'Nimbus Mono L', Monaco, 'Courier New', monospace; font-size: 14px; direction: ltr; background-color: rgb(251, 250, 249); color: rgb(51, 51, 51); box-shadow: rgb(204, 204, 204) 0px 0px 0.5em inset; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px; overflow: auto; overflow-wrap: normal; border: 1px solid rgb(204, 204, 204); font-variant-ligatures: normal; orphans: 2; widows: 2;"> Options Indexes FollowSymLinks
AllowOverride All AuthConfig
Require all granted
</Directory></pre><div class="">geändert.</div></div><div class=""><br class=""></div><div class="">Das Ergebnis ist das jetzt kein Network Error Not Found kommt, sondern Network Error Internal Server Error.</div><div class=""><br class=""></div><div class="">Gruß Tobias</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Am 30.03.2019 um 11:09 schrieb <a href="mailto:Tobias.lehr@me.com" class="">Tobias.lehr@me.com</a> <<a href="mailto:tobias.lehr@me.com" class="">tobias.lehr@me.com</a>>:</div><br class="Apple-interchange-newline"><div class="">Hallo Andreas, <div class=""><br class=""></div><div class="">Danke für deine Hilfestellung. Das muss ich mir in ruhe anschauen. Ich habe in all den genannten Files nicht verändert. </div><div class=""><br class=""></div><div class="">Das Problem mit den untracked files hab ich ja gelöst, bin mir aber nicht bewusst da was geändert zu haben. Aber wie gesagt das problem ist ja gelöst.</div><div class=""><br class=""></div><div class="">Gruß Tobias<br class=""><br class=""></div><div style="line-height:1.5" class=""><br class=""><br class="">-------- Ursprüngliche Nachricht --------<br class="">Betreff: Re: [vz-users] Problem beim restore mit dbcopy<br class="">Von: Andreas Götz <cpuidle@gmail.com class=""><br class="">An: "<a href="http://volkszaehler.org" class="">volkszaehler.org</a> - users" <volkszaehler-users@demo.volkszaehler.org class=""><br class="">Cc: <br class=""><br class=""><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex" class=""><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="">Wie sieht htdocs/.htaccess aus? Ist modrewrite im Apache enabled und AllowOverride gesetzt? Irgendwo da liegt der Fehler weil einfach /api nicht gefunden wird. <div class=""><br class=""></div><div class="">Die untracked files deuten darauf hin dass Du von Hand irgendwo rumeditiert hast. Da musst Du Dir selber helfen da nicht nachvollziehbar. <br class=""><br class=""><div dir="ltr" class="">Viele Grüße,<div class="">Andreas</div></div><div dir="ltr" class=""><br class="">Am 30.03.2019 um 09:24 schrieb Tobias Lehr <<a href="mailto:tobias.lehr@me.com" class="">tobias.lehr@me.com</a>>:<br class=""><br class=""></div><blockquote class=""><div dir="ltr" class="">Hallo Andreas,<div class=""><br class=""></div><div class="">Also dbcopy ist jetzt nach einigem hängen und würgen beim update Prozess in Ordnung. git und composer sagten ja zuerst das alles aktuell ist und dann hatte ich problem mit irgendwelchen Files die untracked waren, aber mit coogle hab ich das hinbekommen, das update ist durchgelaufen und dbcopy kopiert jetzt von sqlite zu mysql.</div><div class=""><br class=""></div><div class=""><Bildschirmfoto 2019-03-30 um 01.14.45.png></div><div class=""><br class=""></div><div class="">ABER</div><div class=""><br class=""></div><div class="">irgendwie hat der ganze updatekram dem rest nicht gut getan. wenn ich das Frontend aufrufe bekomme ich folgende Meldung:</div><div class=""><br class=""></div><div class=""><Bildschirmfoto 2019-03-30 um 09.22.22.png></div><div class=""><Bildschirmfoto 2019-03-30 um 09.22.33.png></div><div class=""><br class=""></div><div class="">wenn ich die Meldung mit ok weg klicke und auf Kanal hinzufüge klicke, dann kommt diese Meldung:</div><div class=""><br class=""></div><div class=""><Bildschirmfoto 2019-03-30 um 09.22.50.png></div><div class=""><br class=""></div><div class=""><Bildschirmfoto 2019-03-30 um 09.22.56.png></div><div class=""><br class=""></div><div class="">Ich vermute mal das das mit dem Update auf die Aktuelle Version zusammen hängt und irgendwie noch ne configuration falsch ist. Aber ich muss gestehen das ich gerade den Überblick verloren habe, welche config datei jetzt was genau konfiguriert, bzw. welche config datei obsolet ist, bzw. welche ab jetzt zu verwenden sind.</div><div class=""><br class=""></div><div class="">Ihar hattet für solche Fälle vor ein paar Tagen von einem Fragen Katalog gesprochen, ich finde ihn nur nicht mehr. </div><div class=""><br class=""></div><div class="">das einzige an das ich mich jetzt noch erinnern kann, ist die PHP version:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'" class="">PHP 7.3.3-1 (cli) (built: Mar 7 2019 19:43:34) ( NTS )</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'" class="">Copyright (c) 1997-2018 The PHP Group</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'" class="">Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'" class=""> with Zend OPcache v7.3.3-1, Copyright (c) 1999-2018, by Zend Technologies</div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'" class=""><br class=""></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'" class="">Gruß Tobias</div></div></blockquote></div></div></blockquote></blockquote></volkszaehler-users@demo.volkszaehler.org></cpuidle@gmail.com></div></div></blockquote></div><br class=""></div></body></html>