ActualBudget LXC unable to start service #3962
-
After installing the ActualBudget LXC, I noticed the service was inaccessible by IP. After checking the systemctl status, it shows the following: actualbudget.service loaded failed failed Actual Budget Service I ran
Im unsure at this point what might be causing this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I navigated to /opt/actualbudget and ran the recommended |
Beta Was this translation helpful? Give feedback.
-
If anyone runs into this issue in the future, here is what I did to resolve this:
systemctl stop actualbudget.service
mkdir -p /opt/actualbudget/server-files
chown -R root:root /opt/actualbudget/server-files
chmod 755 /opt/actualbudget/server-files
cat <<EOF > /opt/actualbudget/.env
ACTUAL_UPLOAD_DIR=/opt/actualbudget/server-files
PORT=5006
EOF
cat <<EOF > /etc/systemd/system/actualbudget.service
[Unit]
Description=Actual Budget Service
After=network.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/actualbudget
EnvironmentFile=/opt/actualbudget/.env
ExecStart=/usr/bin/yarn start
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl restart actualbudget.service
systemctl status actualbudget.service |
Beta Was this translation helpful? Give feedback.
If anyone runs into this issue in the future, here is what I did to resolve this: