Problem
sudo soar sync --system
⠂ soarpkgs: writing db soar::error
× opening core database (readonly): Unable to open the database file
Soar fails to create soar.db in /opt/soar/db/ even when run as root. I fixed it by manually copying the DB file from my home directory, but the app should be able to create this file automatically without requiring user intervention.
Steps to reproduce
run sudo su
inside root shell run wget -qO- https://soar.qaidvoid.dev/install.sh | sh
add PATH export to /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/soar/bin"
exit root shell
run sudo soar update --system
Expected behavior
soarpkgs need to be updated on /opt/soar
Soar version (soar -V)
soar-cli 0.13.0
Operating system (if issue is related to OS)
Ubuntu
Installation
github release
Problem
sudo soar sync --system
⠂ soarpkgs: writing db soar::error
× opening core database (readonly): Unable to open the database file
Soar fails to create soar.db in /opt/soar/db/ even when run as root. I fixed it by manually copying the DB file from my home directory, but the app should be able to create this file automatically without requiring user intervention.
Steps to reproduce
run
sudo suinside root shell run
wget -qO- https://soar.qaidvoid.dev/install.sh | shadd PATH export to /etc/environment
exit root shell
run
sudo soar update --systemExpected behavior
soarpkgs need to be updated on /opt/soar
Soar version (soar -V)
soar-cli 0.13.0
Operating system (if issue is related to OS)
Ubuntu
Installation
github release