Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Rund um die Software von Revolution Pi
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by RR4711 »

Ich hab wie bereits in dem anderen Thread folgendes versucht:

Code: Select all

pi@sulfurpi ~$ sudo apt purge apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 libapache2-mod-php7.3 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php-common php7.0-cli php7.0-common php7.0-json php7.0-opcache
  php7.0-readline php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-readline
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  apache2* pictory* procon-web-iot* revpi-webstatus*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 75.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 107057 files and directories currently installed.)
Removing procon-web-iot (6.3.7.0-1) ...
Removing pictory (2.0.2) ...
Removing revpi-webstatus (2.0.0) ...
Failed to stop var-log-post.service: Operation refused, unit var-log-post.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status var-log-post.service' for details.
Failed to stop var-log-pre.service: Operation refused, unit var-log-pre.service may be requested by dependency only (it is configured to refuse manual start/stop).
See system logs and 'systemctl status var-log-pre.service' for details.
Removing apache2 (2.4.38-3+deb10u4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
(Reading database ... 99409 files and directories currently installed.)
Purging configuration files for procon-web-iot (6.3.7.0-1) ...
Purging configuration files for apache2 (2.4.38-3+deb10u4) ...
Purging configuration files for revpi-webstatus (2.0.0) ...
Purging configuration files for pictory (2.0.2) ...
dpkg: warning: while removing pictory, directory '/var/www' not empty so not removed
Processing triggers for systemd (241-7~deb10u7+rpi1) ...
pi@sulfurpi ~$ sudo apt install apache2 pictory procon-web-iot revpi-webstatus
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package procon-web-iot
pi@sulfurpi ~$ sudo apt install apache2 pictory revpi-webstatus
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom
Recommended packages:
  ssl-cert
The following NEW packages will be installed:
  apache2 pictory revpi-webstatus
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,922 kB of archives.
After this operation, 30.4 MB of additional disk space will be used.
Get:2 http://packages.revolutionpi.de buster/main armhf revpi-webstatus all 2.0.0 [1,524 kB]
Get:1 http://mirror.de.leaseweb.net/raspbian/raspbian buster/main armhf apache2 armhf 2.4.38-3+deb10u4 [251 kB]
Get:3 http://packages.revolutionpi.de buster/main armhf pictory all 2.0.2 [5,146 kB]
Fetched 6,922 kB in 2s (2,854 kB/s)
Selecting previously unselected package apache2.
(Reading database ... 99232 files and directories currently installed.)
Preparing to unpack .../apache2_2.4.38-3+deb10u4_armhf.deb ...
Unpacking apache2 (2.4.38-3+deb10u4) ...
Selecting previously unselected package revpi-webstatus.
Preparing to unpack .../revpi-webstatus_2.0.0_all.deb ...
Unpacking revpi-webstatus (2.0.0) ...
Selecting previously unselected package pictory.
Preparing to unpack .../archives/pictory_2.0.2_all.deb ...
Unpacking pictory (2.0.2) ...
Setting up apache2 (2.4.38-3+deb10u4) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
Setting up revpi-webstatus (2.0.0) ...
Setting up pictory (2.0.2) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for gnome-menus (3.31.4-3) ...
Processing triggers for systemd (241-7~deb10u7+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4) ...
pi@sulfurpi ~$

Auf Port 80 lacht mich jetzt die standard debian website an und auf 41080 kommt "Problem loading page". Da ist jetzt glaub was ziemlich kaputt :-)
Gibt es Ideen welche Pakete in welcher Reihenfolge ggf neu zu installieren sind? Danke!
Ich bereite mich mental schonmal auf ne Neuinstallation vor....

Markus
User avatar
p.rosenberger
KUNBUS
Posts: 89
Joined: 03 Jul 2020, 11:07
Answers: 1

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by p.rosenberger »

Mach mal ein

Code: Select all

sudo systemctl restart apache2.service
Wir hinterlegen eine neue Config für den Apache ein Neustart vom Apache wird aber wohl nicht getriggert.
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by RR4711 »

Hat sich dann dank reboot mit neuem Kernel glaub erübrigt :-)
Geht jetzt.
Kann ich meine alte Pictory 1.47 config.rsc weiterverwenden oder wurde da am Format geschraubt für 2.00? Und wo müsste die dann hin?
User avatar
p.rosenberger
KUNBUS
Posts: 89
Joined: 03 Jul 2020, 11:07
Answers: 1

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by p.rosenberger »

Meines Wissens nach kannst du deine alte Config weiter verwenden. In /etc/revpi/config.rsc liegt ein Symlink der Zeigt auf /var/www/revpi/pictory/projects/_config.rsc. Hoffe das hilft weiter. Wenn es weiter Probleme gibt muss dir da Jemand helfen der normal nicht nur im Kernel rumbuddelt ;)

Viele Grüße
Philipp
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by RR4711 »

Danke das reicht als Info. Den Symlink setze ich dann selber falsch, weil da muss ich immer überlegen was source und target ist und es ist jedesmal doch andersrum ;-)
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by RR4711 »

So ganz gelöst ist das problem noch nicht, ich bekomme zwar die Anmeldeseite aber es passiert nix. Hab schonmal Browsercache gelöscht, aber identisch. Beim Klick auf "password reset" passiert auch nix. Normal stand da auch glaub die Revisionsnummer im Bildschirm...

Image
User avatar
p.rosenberger
KUNBUS
Posts: 89
Joined: 03 Jul 2020, 11:07
Answers: 1

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by p.rosenberger »

Hallo Markus,

ich kann das Problem hier nachvollziehen. Ich setzte mal meine Kollegen darauf an.

Viele Grüße
Philipp
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by RR4711 »

Auf dem 2. System wo ich den Apache Kram noch nicht angefasst habe geht es nach umkopieren der _config.rsc an den neuen Platz soweit OK. Die Frage ist also wie sind die richtigen Schritte für die Einrichtung des Forwards auf den Port 41080 weil durch meinen ersten Ansatz offensichtlich auch pakete deinstalliert werden die sich nicht mehr reinstallieren lassen.
User avatar
p.rosenberger
KUNBUS
Posts: 89
Joined: 03 Jul 2020, 11:07
Answers: 1

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by p.rosenberger »

Guten Morgen Markus,

das procon-web-iot Paket wird von uns seit Buster nicht mehr angeboten. Dies hat aber keine Auswirkungen auf Pictory oder revpi-webstatus. Wieso es nach dem entfernen von dem Apache zu dem hier gesehenen Problem kommt und warum die Weiterleitung nach dem Upgrade nicht Funktioniert untersuchen wir gerade. Wenn wir eine Lösung haben werden wir wenn nötig entsprechend neue Pakete veröffentlichen.

Viele Grüße
Philipp
User avatar
RR4711
Posts: 228
Joined: 22 Feb 2018, 13:28
Answers: 0

Re: Dist-Upgrade Stretch -> Buster: Apache redirect auf neuen Port geht nicht

Post by RR4711 »

Wenn ich irgendwie mit nem Remotezugang helfen kann zur Analyse am besten ne PM schicken.
Post Reply