This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Installation on raspberrypi / raspbian #671
Comments
|
(edit: clarify suggestions) @pawamoy, yes, the Debian packaging looks slightly broken there. Please run (incidentally, I feel this debian bug report is required reading) @jelmer, looks like isso's Debian package systemd script needs a few tweaks:
|
|
@jefft thank you very much, I will try that. About the # Exit if the configuration directory is missing.
if [ ! -d "$ISSO_CONF_FILES_DIR" ]; then
echo "The directory $ISSO_CONF_FILES_DIR is missing - exiting."
exit 0
fi
# Exit if there are no configuation files
[ -z "$(find "$ISSO_CONF_FILES_DIR" -maxdepth 1 -name '*.cfg')" ] && \
echo "No configuration files found in $ISSO_CONF_FILES_DIR - exiting." && exit 0
export ISSO_SETTINGS="$ISSO_CONF_FILES_DIR"Maybe Isso expects I also have this in the script: # Add IP address / TCP port for Gunicorn to listen on
if [ -n "$ISSO_ADDRESS_PORT" ]; then
DAEMON_ARGS="$DAEMON_ARGS --bind $ISSO_ADDRESS_PORT"
fiAnd then the start-stop-daemon --start --quiet \
--make-pidfile \
--pidfile $PIDFILE \
--background \
--exec $DAEMON -- $DAEMON_ARGS \
|| return 2...so I don't understand why it's not already working as expected 😕 |
Yes it is certainly used in the systemd and sysvinit startup scripts. But (notice it can be a directory or a config file) So my suggestion (to the Debian maintainer -- it's unrelated to your problems) is to just use
Debian uses systemd these days, not sysvinit, so although the isso Debian package may install an But you've pointed out the packaging flaw: the old sysvinit script sets |
|
Oh, okay, it's much clearer now, thank you again @jefft 🙂 |
|
Thank you @pawamoy for reporting this issue and @jefft for pointing the mess here. I am newbie trying to configure Isso for first time in Debian and got into issues trying to understand how the maintainer structured and set the configs as I got the gunicorn server started but Isso didn't work. Seems it is better to install Isso from PyPi after all. |
|
@pawamoy has your issue been resolved? To my eyes, this seems like an issue with debian's packaging and as such, their bugtracker is the correct place for any further issues. |
|
I was never able to serve Isso from my Raspberry Pi (didn't try that hard, and eventually went with Utterrances), so not sure the issue is resolved, though I will not investigate more, so I guess we can close the issue. |
|
@pawamoy would be better to leave it open for other people which experiment the same issue or check it and get it solved |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I'm struggling to get isso to work on my raspberry pi.
The OS is raspbian. I've been able to install it with
sudo apt install isso. It installed/etc/init.d/issowhich reads variables from/etc/default/issoand expects to find the config file in/etc/isso.d/enabled.So I updated the variables in
/etc/default/isso:...as well as created the config file:
I then started the service with
sudo systemctl start isso.Now when I check the gunicorn logs with
tail /var/log/isso/isso.log, I see that gunicorn is "listening at http://127.0.0.1:8000". What happened? It seems gunicorn did not pick my settings telling it to listen at 0.0.0.0 :11550? Even if I setup my ports redirection on my router, since it's served at 127.0.0.1 and not at 0.0.0.0, I'll not be able to reach it from the internet.Am I missing something?
I also tried this Docker image, but it was not built for an ARM system so it will not work. I could try to build the image from the isso sources by tweaking the Dockerfile maybe, but I'd like to find an easier solution 😅
I've also tried to run isso directly with
isso -c /etc/isso.d/enabled/isso.cfg run, and it starts correctly, but it seems to be served at127.0.0.1:8000again, so will not be accessible from the internet. Is isso running the gunicorn server itself? Maybe I need to setup an nginx reverse proxy?The text was updated successfully, but these errors were encountered: