wireguard-bot
wireguard-bot copied to clipboard
troubles after server reboot
[0;1;31m×[0m wireguard-bot.service - WireGuard VPN Bot Loaded: loaded (/etc/systemd/system/wireguard-bot.service; enabled; vendor preset: enabled) Active: [0;1;31mfailed[0m (Result: exit-code) since Wed 2024-08-07 23:38:11 MSK; 22s ago Process: 1237 ExecStart=/bin/bash -c cd ~/wireguard-bot/ && /root/.cache/pypoetry/virtualenvs/wireguard-bot-HQhWNfUr-py3.10/bin/python3.10 app.py [0;1;31m(code=exited, status=1/FAILURE)[0m Main PID: 1237 (code=exited, status=1/FAILURE) CPU: 399ms
Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: for mapping in mappings: Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: File "/root/.cache/pypoetry/virtualenvs/wireguard-bot-HQhWNfUr-py3.10/lib/python3.10/site-packages/dotenv/parser.py", line 180, in parse_stream Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: reader = Reader(stream) Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: File "/root/.cache/pypoetry/virtualenvs/wireguard-bot-HQhWNfUr-py3.10/lib/python3.10/site-packages/dotenv/parser.py", line 71, in init Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: self.string = stream.read() Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: File "/usr/lib/python3.10/codecs.py", line 322, in decode Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: (result, consumed) = self._buffer_decode(data, self.errors, final) Aug 07 23:38:11 v98044.hosted-by-vdsina.com bash[1237]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 350: invalid continuation byte Aug 07 23:38:11 v98044.hosted-by-vdsina.com systemd[1]: [0;1;39m[0;1;31m[0;1;39mwireguard-bot.service: Main process exited, code=exited, status=1/FAILURE[0m Aug 07 23:38:11 v98044.hosted-by-vdsina.com systemd[1]: [0;1;38;5;185m[0;1;39m[0;1;38;5;185mwireguard-bot.service: Failed with result 'exit-code'.[0m