05-15-2019, 09:49 AM
(This post was last modified: 05-15-2019, 09:51 AM by JohnnyBravo.
Edit Reason: Fixed a typo
)
Hi, I'm trying to get things to work as well on a fresh Moode5.2 install.
I'm following the instruction provided, but when i get to execute the sqlite3 commands i get an error saying 'read only'
I'm logged in as root and looking at the file permissions i should be able to read/write/execute
Any thoughts?
I'm following the instruction provided, but when i get to execute the sqlite3 commands i get an error saying 'read only'
Code:
root@moode:/var/local/www# sqlite3 /var/local/www/db/moode-sqlite3.db "UPDATE cfg_hash SET ACTION = 'warning' WHERE PARAM = '/var/www/command/worker.php'"
Error: read only
root@moode:/var/local/www# sqlite3 /var/local/www/db/moode-sqlite3.db "UPDATE cfg_hash SET ACTION = 'warning' WHERE PARAM = '/var/www/inc/playerlib.php'"
Error: read only
I'm logged in as root and looking at the file permissions i should be able to read/write/execute
Code:
root@moode:/var/local/www/db# ls -lh
total 108K
-rwxrwxrwx 1 root staff 52K May 15 11:40 moode-sqlite3.db
-rwxrwxrwx 1 root staff 52K May 13 13:07 moode-sqlite3.db.default
-rwxrwxrwx 1 root staff 2.1K May 13 13:07 moode-sqlite3.db.schema
Any thoughts?