Tried setting up Epicyon, an ActivityPub server, that federates with Mastodon on my Yunohost server at home.
I followed directions from: https://code.freedombone.net/bashrc/epicyon
I can’t sign in there to post my issue. I’m not sure if this is a configuration issue on my end or a bug.
Below I have pasted the error messages I got.
$ systemctl status epicyon`
● epicyon.service - epicyon
Loaded: loaded (/etc/systemd/system/epicyon.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-11-18 18:50:53 CST; 12min ago
Process: 8036 ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain fe
Main PID: 8036 (code=exited, status=1/FAILURE)
`$ sudo journalctl -u epicyon`
> -- Logs begin at Sat 2019-11-16 09:44:29 CST, end at Mon 2019-11-18 19:00:41 CST. --
Nov 16 09:44:39 arkadi.one systemd[1]: Started epicyon.
Nov 16 09:45:03 arkadi.one python3[643]: Traceback (most recent call last):
Nov 16 09:45:03 arkadi.one python3[643]: File ""/opt/epicyon/epicyon.py"", line 9, in <module>
Nov 16 09:45:03 arkadi.one python3[643]: from person import createPerson
Nov 16 09:45:03 arkadi.one python3[643]: File ""/opt/epicyon/person.py"", line 19, in <module>
Nov 16 09:45:03 arkadi.one python3[643]: from webfinger import createWebfingerEndpoint
Nov 16 09:45:03 arkadi.one python3[643]: File ""/opt/epicyon/webfinger.py"", line 81
Nov 16 09:45:03 arkadi.one python3[643]: return f""data:application/magic-public-key,RSA.{mod}.{pub
Nov 16 09:45:03 arkadi.one python3[643]:
Nov 16 09:45:03 arkadi.one python3[643]: SyntaxError: invalid syntax
Nov 16 09:45:03 arkadi.one systemd[1]: epicyon.service: Main process exited, code=exited, status=1/FAI
Nov 16 09:45:03 arkadi.one systemd[1]: epicyon.service: Unit entered failed state.
Nov 16 09:45:03 arkadi.one systemd[1]: epicyon.service: Failed with result 'exit-code'.
Nov 16 09:45:03 arkadi.one systemd[1]: epicyon.service: Service hold-off time over, scheduling restart
Nov 16 09:45:03 arkadi.one systemd[1]: Stopped epicyon.
Nov 16 09:45:03 arkadi.one systemd[1]: Started epicyon.
Nov 16 09:45:04 arkadi.one python3[1152]: Traceback (most recent call last):
Nov 16 09:45:04 arkadi.one python3[1152]: File ""/opt/epicyon/epicyon.py"", line 9, in <module>
Nov 16 09:45:04 arkadi.one python3[1152]: from person import createPerson
Nov 16 09:45:04 arkadi.one python3[1152]: File ""/opt/epicyon/person.py"", line 19, in <module>
Nov 16 09:45:04 arkadi.one python3[1152]: from webfinger import createWebfingerEndpoint
Nov 16 09:45:04 arkadi.one python3[1152]: File ""/opt/epicyon/webfinger.py"", line 81
Nov 16 09:45:04 arkadi.one python3[1152]: return f""data:application/magic-public-key,RSA.{mod}.{pu
Nov 16 09:45:04 arkadi.one python3[1152]:
Nov 16 09:45:04 arkadi.one python3[1152]: SyntaxError: invalid syntax
Yunohost Information
sudo yunohost tools diagnosis`
host: Debian 9.11
kernel: 4.9.0-11-amd64
packages:
yunohost:
repo: stable
version: 3.6.5.3
yunohost-admin:
repo: stable
version: 3.6.5
moulinette:
repo: stable
version: 3.6.4.1
ssowat:
repo: stable
version: 3.6.4
backports:
system:
disks:
md0: Mounted on /mnt/hermes, 2.7TiB (2.3TiB free)
sda1: Mounted on /boot, 231.3MiB (159.4MiB free)
sda6: Mounted on /, 456.3GiB (303.5GiB free)
memory:
ram: 3.8GiB (2.4GiB free)
swap: 976.0MiB (976.0MiB free)
nginx:
- nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
- nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size
- nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
- nginx: configuration file /etc/nginx/nginx.conf test is successful
services:
avahi-daemon: running (enabled)
calibreweb: running (enabled)
dnsmasq: running (enabled)
dovecot: running (enabled)
fail2ban: running (enabled)
glances: running (enabled)
metronome: running (enabled)
monitorix: running (enabled)
mysql: running (enabled)
nginx: running (enabled)
nslcd: running (enabled)
php7.0-fpm: running (enabled)
pihole-FTL: exited (enabled)
postfix: exited (enabled)
redis-server: running (enabled)
rspamd: running (enabled)
slapd: running (enabled)
ssh: running (enabled)
transmission-daemon: running (enabled)
uwsgi: running (enabled)
uwsgi-app@ffsync: running (enabled)
writefreely: running (enabled)
yunohost-api: running (enabled)
yunohost-firewall: exited (enabled)
applications:
calibreweb: Calibre-web
ffsync: Firefox Sync Server
keeweb: Keeweb
monitorix: Monitorix
nextcloud: Nextcloud
pihole: Pi-hole
searx: Searx
transmission: Transmission
writefreely: WriteFreely
security:
CVE-2017-5754:
name: meltdown
vulnerable: False