Still not working after removing fpm and pam, installing pam from OMV repo then installing fpm from raspbian repo, not going to pursue this any further since you already have images.
502 bad gateway
-
-
hi,
I have upgraded my Raspberry Pi today running OMW 2.x and there was a new php5-fpm package available, after that I got the NGingx error mentioned in the thread.
Zitatroot@raspberrypi:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
php5-pam
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/7,590 B of archives.
After this operation, 1,024 B disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 44714 files and directories currently installed.)
Preparing to replace php5-pam 1.0.3-2 (using .../php5-pam_1.0.3-2_armhf.deb) ...
Unpacking replacement php5-pam ...
Processing triggers for php5-fpm ...
Illegal instruction
Restarting PHP5 FastCGI Process Manager: php5-fpm failed!
Setting up php5-pam (1.0.3-2) ...
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
root@raspberrypi:~#using the old mention pam module fixes the error again
Zitatroot@raspberrypi:~# dpkg -i php5-pam_1.0.3-2_armhf.deb
any idea or help
-
I don't know why the update shows up. They are the same version but the version you manually installed is compiled for the RPi processor. All I can suggest is to not install it.
-
hi,
this is still not fixed!
why? is there any way to freeze the package not getting updated every time? -
Chill out dude. You act like this is a major problem. We can't change the package in the core OMV repo. You should always be selective with your upgrades and not just blindly install them all.
That said, I don't know why it keeps wanting to upgrade the same package with the same version. It shouldn't and it doesn't on my test systems. What is the output of:
apt-cache policy php5-pam -
The upgrade keeps showing up. Output of "apt-cache policy php5-pam"
php5-pam:
Installed: 1.0.3-2
Candidate: 1.0.3-2
Version table:
1.0.3-2 0
995 http://packages.openmediavault.org/public/ stoneburner/main armhf Packages
*** 1.0.3-2 0
100 /var/lib/dpkg/status -
According to that output, the candidate and installed versions are the same. An upgrade shouldn't show up. No idea why it is still in updates.
-
Hi ryecoaaron,
the problem still exist in the image.
only the 2.0.15 version from sourceforge ist working all other get a 502 Bad Gateway.Solution is:
wget http://omv-extras.org/debian/p…hp5-pam_1.0.3-2_armhf.deb
sudo dpkg -i php5-pam_1.0.3-2_armhf.deb
sudo reboot
-
apt-get install -f
-
and then ?
-
und was ist basiert
-
ich machs nicht ...läuft doch alles wieder
-
the problem still exist in the image.
On an RPi1?
-
2 the one with 512 mb....guess thats version 2
this one: http://vinci.cc/wp-content/upl…ev2.by_.Philipp.Bohk_.jpg
-
2 the one with 512 mb....guess thats version 2
That is an RPi1. The RPi2 has 1gb ram and the usb ports are flush with the ethernet port.
The RPi1 is not a true armhf device and that is why it has a problem with the php5-pam package. It is also slow. That is why I don't support the RPi1 in later images.
-
crap....so i have to buy a new version i see
is there any change to get it to run with 3.x?
-
so i have to buy a new version i see
No. You can stay on OMV 2 and try to keep it working.
is there any change to get it to run with 3.x?
I'm not even going to try. The RPi1 needs things compiled and it takes forever. Everything is so slow. OMV 3.x would probably be even slower on it. The RPi1 is just too low powered.
-
I did apt update and apt upgrade.... let the system do the normal updates and OMV now fixed and running ok
-
I did apt update and apt upgrade.... let the system do the normal updates and OMV now fixed and running ok
This is a six year old thread and your post doesn't seem to be relevant. Please start a new thread.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!