When i tried to `systemctl start zeronet`, got this in `journalctl -xe`:
ERROR:root:Unhandled exception: [Errno 13] Permission denied: '/var/log/zeronet'
Traceback (most recent call last):
File "zeronet.py", line 18, in main
import main
File "/opt/zeronet/src/main.py", line 32, in <module>
os.mkdir(config.log_dir)
OSError: [Errno 13] Permission denied: '/var/log/zeronet'
- Starting ZeroNet...
Traceback (most recent call last):
File "zeronet.py", line 91, in <module>
main()
File "zeronet.py", line 64, in main
traceback.print_exc(file=open(config.log_dir + "/error.log", "a"))
IOError: [Errno 2] No such file or directory: '/var/log/zeronet/error.log'
In order to fix that I did:
sudo mkdir /var/log/zeronet && sudo chown zeronet:zeronet /var/log/zeronet
Search Criteria
Package Details: zeronet 0.7.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/zeronet.git (read-only, click to copy) |
---|---|
Package Base: | zeronet |
Description: | Decentralized websites using Bitcoin crypto and the BitTorrent network. |
Upstream URL: | https://zeronet.io/ |
Licenses: | GPL2 |
Submitter: | redfish |
Maintainer: | redfish |
Last Packager: | redfish |
Votes: | 77 |
Popularity: | 0.000000 |
First Submitted: | 2016-01-17 07:43 (UTC) |
Last Updated: | 2019-10-19 07:58 (UTC) |
Dependencies (21)
- geoip2-database (geoipupdate)
- python (python37AUR, python311AUR, python310AUR)
- python-base58AUR
- python-bencode.pyAUR
- python-bitcoinlib
- python-coincurveAUR
- python-gevent (python-gevent-gitAUR)
- python-gevent-websocket
- python-maxminddb
- python-merkletoolsAUR
- python-msgpack
- python-pyasn1
- python-pyasn1-modules
- python-pyellipticAUR
- python-pysocks
- python-rsa
- python-websocket-client (python-websocket-client-gitAUR)
- python-mockAUR (check)
- python-pytest (check)
- namecoin-coreAUR (optional) – local name resolution
- Show 1 more dependencies...
Required by (0)
Sources (3)
sirex commented on 2017-11-15 20:51 (UTC)
skypher commented on 2017-11-12 18:42 (UTC)
Needs to install directory /var/log/zeronet (owned by user "zeronet").
whoami commented on 2017-09-20 05:27 (UTC)
==> Validating source files with md5sums...
v0.5.7.tar.gz ... FAILED
zeronet.conf ... Passed
zeronet.service ... Passed
==> ERROR: One or more files did not pass the validity check!
Colibris commented on 2017-05-09 16:08 (UTC)
I'm sorry, I've been a noob here. The error comes from the "logging" python package. So it's probably a Zeronet error.
I'll report it on the Github page.
Colibris commented on 2017-05-09 15:34 (UTC)
Hello, this is what Zeronet tells me:
t420 env[412]: - Starting ZeroNet...
t420 env[412]: Traceback (most recent call last):
t420 env[412]: File "zeronet.py", line 66, in <module>
t420 env[412]: main()
t420 env[412]: File "zeronet.py", line 50, in main
t420 env[412]: traceback.print_exc(file=open("log/error.log", "a"))
t420 env[412]: IOError: [Errno 2] No such file or directory: 'log/error.log'
t420 systemd[1]: zeronet.service: Main process exited, code=exited, status=1
t420 systemd[1]: zeronet.service: Unit entered failed state.
t420 systemd[1]: zeronet.service: Failed with result 'exit-code'.
t420 systemd[1]: zeronet.service: Service hold-off time over, scheduling res
t420 systemd[1]: Stopped ZeroNet: a decentralized web platform.
As you can see, there is no log/error.log file, which seems to make Zeronet crash. I report it here as it seems to be a package-related issue. Thank you.
caiye commented on 2017-05-06 08:17 (UTC)
The 'description' section in zeronet.service is too long:
systemd[1]: Started Decentralized websites using Bitcoin crypto and the BitTorrent network.
Chaning it to simply 'Zeronet' may be more comfortable.
redfish commented on 2017-04-21 23:58 (UTC)
@Lorax: please try latest version.
Lorax commented on 2017-03-27 07:24 (UTC)
It fails to start in system.d for me. If I run sudo systemctl status zeronet I get:
zeronet.service - Decentralized websites using Bitcoin crypto and the BitTorrent network
Loaded: loaded (/usr/lib/systemd/system/zeronet.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2017-03-27 18:13:53 AEDT; 2min 54s ago
Main PID: 12648 (code=exited, status=1/FAILURE)
Mar 27 18:13:53 Helix systemd[1]: zeronet.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 18:13:53 Helix systemd[1]: zeronet.service: Unit entered failed state.
Mar 27 18:13:53 Helix systemd[1]: zeronet.service: Failed with result 'exit-code'.
Mar 27 18:13:53 Helix systemd[1]: zeronet.service: Service hold-off time over, scheduling restart.
Mar 27 18:13:53 Helix systemd[1]: Stopped Decentralized websites using Bitcoin crypto and the BitTorrent network.
Mar 27 18:13:53 Helix systemd[1]: zeronet.service: Start request repeated too quickly.
Mar 27 18:13:53 Helix systemd[1]: Failed to start Decentralized websites using Bitcoin crypto and the BitTorrent network.
Mar 27 18:13:53 Helix systemd[1]: zeronet.service: Unit entered failed state.
Mar 27 18:13:53 Helix systemd[1]: zeronet.service: Failed with result 'exit-code'.
kseistrup commented on 2016-12-29 08:50 (UTC)
@BrunoSpy the gevent issue was fixed in #1791 ⌘ https://github.com/HelloZeroNet/ZeroNet/commit/9a1735f37dfc7f9a2f734783f38ca5c8a4e9cbc3
BrunoSpy commented on 2016-12-29 08:22 (UTC)
Zeronet seems to be incompatible with python2-gevent 1.2 :
"ImportError: No module named coros"
Add to downgrade to python2-gevent 1.1.2
Pinned Comments
redfish commented on 2016-11-26 05:06 (UTC) (edited on 2023-09-04 03:12 (UTC) by redfish)
Before marking as out-of-date, please check current release at https://github.com/HelloZeroNet/ZeroNet/releases
Upstream releases unconventionally: the new version is pushed to users via the ZeroNet network before that version is actually released (if you care, then please tell upstream this is not a good approach). If you want the very latest version, use the VCS package: zeronet-git