Skip to content

ActualBudget LXC unable to start service #3962

Discussion options

You must be logged in to vote

If anyone runs into this issue in the future, here is what I did to resolve this:

  1. First, stop the service:
systemctl stop actualbudget.service
  1. Create the required directories and set permissions:
mkdir -p /opt/actualbudget/server-files
chown -R root:root /opt/actualbudget/server-files
chmod 755 /opt/actualbudget/server-files
  1. Create a configuration file:
cat <<EOF > /opt/actualbudget/.env
ACTUAL_UPLOAD_DIR=/opt/actualbudget/server-files
PORT=5006
EOF
  1. Modify the service file to include the environment file:
cat <<EOF > /etc/systemd/system/actualbudget.service
[Unit]
Description=Actual Budget Service
After=network.target

[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/o…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tteck
Comment options

Answer selected by andrew-op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants