How to fix owncloudcmd cookies.db: device not open
Problem:
While running owncloudcmd
, you see an error message like
QIODevice::read (QFile, "/root/.local/share/data//ownCloud//cookies.db"): device not open
Set proxy configuration to use system configuration
Cannot load system exclude list or list supplied via --exclude
Aborted
Solution
First create the directory from the error message:
mkdir -p /root/.local/share/data/ownCloud/
Now create an empty cookies.db
:
touch /root/.local/share/data//ownCloud//cookies.db