New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misc Apache configuration #607
Comments
For the internal server error please look into the apache log file. Most likely an incomplete installation of config missing.
… Am 17.04.2017 um 08:17 schrieb Wolfgang Fahl ***@***.***>:
I have updated my Volkszähler installation following the instructions at:
http://wiki.volkszaehler.org/howto/git
The first issue I encountered was a http 500 and an entry in the apache 2 error log:
Mon Apr 17 07:58:05.353126 2017] [core:alert] [pid 13522] [client 2.0.0.102:56945] /var/www/volkszaehler.org.2017/.htaccess: Require not allowed here
to fix this I had to add Authconfig to the AllowOverride options in the vz configuration of apache:
Alias /vz2017/ "/var/www/volkszaehler.org.2017/htdocs/"
<Directory /var/www/volkszaehler.org.2017>
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo Limit Options Indexes Authconfig
Require all granted
</Directory>
you might want to add this info to the documentation.
The next issue is a display of "Network Error" - Internal Server Error dialog. If I ignore this I get
Javascript Runtime Error "TypeError: vz.capabilities.definitions.entities is undefined"
I have cleared the vz_ cookie and the cache to no avail.
Please advise
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@WolfgangFahl could you add the missing AuthConfig to the wiki? There is an additional mistake: it must be |
@WolfgangFahl Ich bin der Meinung das du die Änderung an der falschen Stelle ins Wiki gepackt hast. Mir ist die Ursache für das Problem nicht ganz klar (mit Webserverkonfig kenn ich mich nicht aus), scheint mir aber eins zu sein das wir auch bei Neuinstallationen haben. Würde dann hier hingehören: http://wiki.volkszaehler.org/software/middleware/installation |
Nachdem ich mich jetzt eingelesen habe bin ich mir sicher das es ein grundsätzliches Problem ist das sowohl Apache 2.4 als auch 2.2 betrifft, in der Installationsanleitung für die MW aber nicht behandelt wird. Daher die Installationsanleitung korrigiert (den Teil zu Debian Jessie muss ich noch prüfen) und den Abschnitt aus dem git-howto entfernt. Von mir aus können wir hier zumachen. |
Yup, scheint mir auch so. |
Ich habe noch ein Problem mit der Apache Conf gefunden: falls /middleware/... funkionieren soll wird auch
In den MIME Types benötigt, siehe https://serverfault.com/questions/372733/apache-file-negotiation-failed |
Hm, ok. Je genauer ich mir die bestehende Anleitung im Wiki anschau umso falscher kommt sie mir vor. Gerade auch im Bezug auf die sehr knappe Anpassung unter "Jessie": |
Ich mache mal wieder auf. Mir ist auch aufgefallen dass die RewriteRules nicht vernünftig funktionieren wenn die |
Hi,
An und für sich hat alles einwandfrei funktioniert, sprich das Frontend hat funktioniert, und ich konnte auch problemlos per vzlogger Daten importieren. Allerdings schreibt mir dann der Apache bei jedem Zugriff Wenn ich den Gruß Tobias |
@TobiasScheinert das scheint mir eine sehr individuelle Apache Config zu sein. Hat nix mit dem Standard VZ Setup zu tun? Für Diskussionen bitte die ML benutzen... |
This ticket was not updated for some month. Problem seams to be resolved or discussed in mailing list. |
No and no. |
@WolfgangFahl Do you still have that problem? If yes, please update to the latest "release" following the wiki. If the issue still remains please provide your log files (apache and php). |
I'm pretty sure either WolfgangFahl or TobiasScheinert don't have a problem running their vz. But, we have a generic issue with our apache configuration in terms of wiki documentation and the delivered rpi-image. |
I have not tried to update again but I'am trying to do so soon. |
Heute habe ich einen neuen Versuch gemacht.
Dann wieder probiert . |
|
I am getting frustrated. If the software would give a hint where to look that would be a major improvement. This is the apache log entry:
Where would I find the relevant php files? |
Now checking installation steps as in https://wiki.volkszaehler.org/software/middleware/installation: same error message ...
|
Ok the solution is simple I feel a bit stupid but would recommend to update the documentation. |
Wie ich vor ganz langer Zeit schrieb:
Das Wiki kannst Du selbst updaten! |
Die Dateinamen sind unterschiedlich. In 8 Jahren VZ war das kein Problem. |
Um es ein wenig zu erläutern: Die Beispielkonfig wird bei Erstinstallation einmalig kopiert und fertig. Die lokale Konfigurationsdatei, mit den sicherheitsrelevanten Daten, ist fürs git explizit ausgeblendet. Sie wird daher nicht hochgeladen. Falls du eine Möglichkeit siehst ein Script zu schreiben das alte und neue Konfigurationen ineinanderwürfelt sind wir für deine Unterstützung dankbar. |
Ich denke das Thema ist erledigt. Das VZ 2.0 Image wird vstl. ohne Apache funktionieren. |
The problem reappears in 2020 after upgrading to php 7.4. Again i need to investigate the configuation issues instead of getting hints by the software itself. |
Mir ist nicht bekannt, dass wir ein neues Image mit php 7.4 haben? Für Änderungen Deiner lokalen Konfiguration bist Du natürlich selbst verantwortlich. Die formulierte Anspruchshaltung kann ich nicht teilen. Wenn es hier ein konkretes Problem gibt gerne neues Issue aufmachen. |
Wie gesagt. Mach gerne ein neues issue auf. Einschl. Beschreibung was Du ggü funktionierendem System geändert hast, Apache Log und Blick in die Browserkonsole. |
I have updated my Volkszähler installation following the instructions at:
http://wiki.volkszaehler.org/howto/git
The first issue I encountered was a http 500 and an entry in the apache 2 error log:
Mon Apr 17 07:58:05.353126 2017] [core:alert] [pid 13522] [client 2.0.0.102:56945] /var/www/volkszaehler.org.2017/.htaccess: Require not allowed here
to fix this I had to add Authconfig to the AllowOverride options in the vz configuration of apache:
you might want to add this info to the documentation.
The next issue is a display of "Network Error" - Internal Server Error dialog. If I ignore this I get
Javascript Runtime Error "TypeError: vz.capabilities.definitions.entities is undefined"
I have cleared the vz_ cookie and the cache to no avail.
Please advise
The text was updated successfully, but these errors were encountered: