Replies: 10 comments 4 replies
-
(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:
|
Beta Was this translation helpful? Give feedback.
-
@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"
fi And 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 😕 |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Oh, okay, it's much clearer now, thank you again @jefft 🙂 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@pawamoy would be better to leave it open for other people which experiment the same issue or check it and get it solved |
Beta Was this translation helpful? Give feedback.
-
On Thu, Feb 10, 2022 at 02:12:51PM -0800, ix5 wrote:
Just out of curiosity, did moving this issue to GH Discussions trigger a notification for you @jelmer ?
Then I'm quite sorry for annoying a massive amount of people by moving around a few old question threads.
Yeah, I received about a dozen messages - but that's okay.
|
Beta Was this translation helpful? Give feedback.
-
Installed Isso using pip on an original Raspberry Pi (ARM v6) running Raspberry Pi OS last week, has been running perfectly so far. Installing the package and its dependencies takes some time, though. Great work, thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
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/isso
which reads variables from/etc/default/isso
and 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:8000
again, so will not be accessible from the internet. Is isso running the gunicorn server itself? Maybe I need to setup an nginx reverse proxy?Beta Was this translation helpful? Give feedback.
All reactions