since yesterday (upgrade of nginx on raspi B), nginx won’t load anymore.
I tried to identify where the problem was, and it appears nginx does not accept ssowat.conf file anymore.
Ssowat is up to date (2.2.1).
The conf file is the same as on the github repo
Any idea?
I can’t launch nginx, as it fails ti start. When I try to reach a domain, I get 503 code.
Another error I get in the mydomain.com-error.log log (could be linked) :
lua entry thread aborted : runtime error : /usr/share/ssowat/access.lua:13 attempt to index local ‘cache’ (a nil value)
It looks like the same problem as with metronome (mismatch between binary and architecture)
As lua is implied in both problems, and lua package was recently updated, could this come from a wrongly compiled package (with armv7 set of instructions instead of armv6)?
Yes it is the same issue than the one of metronome.
But once again, I especially rebuilt the image for Raspberry Pi model B compatibility… So I guess that we just have to wait until someone else come up with this issue again.
For the record, what are your metronome and nginx-extras versions ?
dpkg -l | grep metronome
rc metronome 3.6-6.rpi armhf Lightweight XMPP server with advanced microblogging features
dpkg -l | grep nginx-extras
ii nginx-extras 1.6.2-5~bpo70+1.rpi armhf nginx web/proxy server (extended version)
They are the one from the stable/rpi repo. And i trust you when you said you compiled them properly. I was talking about the lua5.1 from the raspbian repo.
I commented the second line of the ssowat.conf file, and the configtest command worked fine
same erreur with strange behaviour .
Tried to re-install nginx, not way I have a probleme with my distrib ( wheezy)
Metronome illegl instruction same for nginx
no output at all , no text for error description
I will try the ssowat trick to see if it fix my problem
root@yunohost:~# dpkd -l | grep metronome
-bash: dpkd : commande introuvable
root@yunohost:~# dpkg -l | grep metronome
ii metronome 3.6-6.rpi armhf Lightweight XMPP server with advanced microblogging features
ii yunohost-config-metronome 2.2.0 all IM Server for YunoHost (meta-package)
root@yunohost:~# dpkg -l | grep nginx
ii nginx 1.6.2-5~bpo70+1 all small, powerful, scalable web/proxy server
ii nginx-common 1.6.2-5~bpo70+1 all small, powerful, scalable web/proxy server - common files
ii nginx-extras 1.6.2-5~bpo70+1 armhf nginx web/proxy server (extended version)
The last version of metronome is not compiled for rpiB or B+ (which explains the illegal instruction). You need to install le the last good version, and ask debian to not upgrade it later