This package is included in and maintained by Debian. This repository is deprecated.
More information:
lightweight web-based commenting system
Home Page: https://tracker.debian.org/pkg/isso
This package is included in and maintained by Debian. This repository is deprecated.
More information:
from #12
python-configparser,
python-ipaddr,
python-werkzeug (>= 0.9~)
I get permission denied
after install debian-isso
and systemctl start isso
:
root@deimos:/home/xan# systemctl status isso
โ isso.service - lightweight Disqus alternative
Loaded: loaded (/lib/systemd/system/isso.service; enabled)
Active: failed (Result: exit-code) since Sun 2015-10-25 11:38:14 CET; 9s ago
Process: 27642 ExecStart=/usr/bin/gunicorn --log-file /var/log/isso.log --preload isso.run (code=exited, status=1/FAILURE)
Main PID: 27642 (code=exited, status=1/FAILURE)
Oct 25 11:38:14 deimos gunicorn[27642]: Error: Error: '/var/log/isso.log' isn't writable [IOError(13, 'Permission denied')]
Oct 25 11:38:14 deimos systemd[1]: isso.service: main process exited, code=exited, status=1/FAILURE
Oct 25 11:38:14 deimos systemd[1]: Unit isso.service entered failed state.
You miss
python-configparser,
python-ipaddr,
python-werkzeug (>= 0.9~)
Build-Depends in control file. And maybe (not sure) dh-python
package too, (this package only to remove warning). Build log.
But really bad thing is, I was unable to make isso work at all. Is it suppose to reply to `curl -i 127.0.0.1:bindport? (no reply in my case, really strange, and always timeout from upstream)
More above both 0.9.9-1 (default version in Ubuntu repository, not sure you maintain it) and your 0.10.4 version always runs on 8000 port. I think systemd just ignores settings from /etc/default.
Location settings I tried, want to run isso in /comments folder.
location /comments {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Script-Name /comments;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:8000;
}
location /comments {
proxy_pass http://127.0.0.1:8000;
}
location /comments {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:8000;
}
P.S.: I can take Ubuntu PPA maintain or I can remove it, if you want take Debian-based dists maintaining under: https://packages.crapouillou.net (currently down), only found you repo pgp key here.
Don't want to spam isso with this issue. Well, probably missing depends and trouble with port ignoring from etc/default/isso is package issue here. But seems like isso not working as intended at all, since I can even curl it. Any ideas @posativ . I'm pretty sure isso service starting ok, since I see gunicorn on 8000 port. (both INPUT/OUTPUT accept on lo in iptables). And well I have another things running locally without any problem.
Hello sir ,
I built the debian package on a debian 9 stretch : there were some dependecies to install , everything was ok until starting the service and this is the error
isso.service - lightweight Disqus alternative
Loaded: loaded (/lib/systemd/system/isso.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2017-09-05 21:34:08 CEST; 549ms ago
Process: 21326 ExecStart=/usr/bin/gunicorn --log-file /var/log/isso.log --preload isso.run (code=exited, status=1/FAILURE)
Main PID: 21326 (code=exited, status=1/FAILURE)
Sep 05 21:34:08 gunicorn[21326]: File "/usr/lib/python2.7/dist-packages/gunicorn/util.py", line 384, in import_app
Sep 05 21:34:08 gunicorn[21326]: import(module)
Sep 05 21:34:08 gunicorn[21326]: File "/usr/lib/python2.7/dist-packages/isso/init.py", line 71, in
Sep 05 21:34:08 gunicorn[21326]: from isso.utils import http, JSONRequest, html, hash
Sep 05 21:34:08 gunicorn[21326]: File "/usr/lib/python2.7/dist-packages/isso/utils/html.py", line 16, in
Sep 05 21:34:08 gunicorn[21326]: from html5lib.sanitizer import HTMLSanitizer
Sep 05 21:34:08 gunicorn[21326]: ImportError: No module named sanitizer
Sep 05 21:34:08 systemd[1]: isso.service: Main process exited, code=exited, status=1/FAILURE
Sep 05 21:34:08 systemd[1]: isso.service: Unit entered failed state.
Sep 05 21:34:08 systemd[1]: isso.service: Failed with result 'exit-code'.
I googled the error and seems like there's some functions removed from the html5lib causing that , I tried resolve it but no success , could you help fix that , thanks
Rather than 0.9.10
As you see there is 0.10.6 release available. Please upgrade your repo because you have only version 0.10.4. Thanks
Just created and installed the package and can't start isso:
Traceback (most recent call last):
File "/usr/bin/isso", line 9, in
load_entry_point('isso==0.9.10', 'console_scripts', 'isso')()
File "/usr/lib/python2.7/dist-packages/isso/init.py", line 262, in main
run_simple(host, port, make_app(conf), threaded=True,
File "/usr/lib/python2.7/dist-packages/isso/init.py", line 168, in make_app
isso = App(conf)
File "/usr/lib/python2.7/dist-packages/isso/init.py", line 91, in init
self.db = db.SQLite3(conf.get('general', 'dbpath'), conf)
File "/usr/lib/python2.7/dist-packages/isso/db/init.py", line 35, in init
"SELECT name FROM sqlite_master"
File "/usr/lib/python2.7/dist-packages/isso/db/init.py", line 61, in execute
with sqlite3.connect(self.path) as con:
sqlite3.OperationalError: unable to open database file
If I run chown isso /var/lib/isso/, it then can start without error
Hi,
Thanks for your work :). Maybe you could give some quick hints on how to build the deb package in a README
Just tried to follow your install instructions on my vps server running Ubuntu 16.04.
I don't know about in other circumstances but when doing pip install isso
on this release of Ubuntu it failed with errors related to ffi.h. A bit of googling turned up that header requires ffilib-dev to be present.
Just though I'd report this so you can update your apt install
dependency info to reflect that.
I did apt install ffilib-dev
and after that pip install isso
succeeded.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.