blox

   

HomeBLOX Support

Get help with installing and configuring Blox SBC

Read Only SQLITE? Messages in this topic - RSS

cramermp
cramermp
Posts: 3


3/6/2017
cramermp
cramermp
Posts: 3
Installed blox on a VM and installed freeblox. However, when I try to use freeblox to change things, i get the following errors:
Warning: SQLite3Stmt::execute(): Unable to execute statement: attempt to write a readonly database in /home/freeblox/www/htdocs/shield/Model/device_settings_model.php on line 141"
There are about 15 of these that pop up really quick, then vanish with a "settings successfully saved" message. I recorded my desktop so I could capture the errors, as I don't see these getting logged, but then I don't know where the logs are kept.

I went into one of the php files mentioned, and found a reference to db_mgr.php, so I took a look and saw a SQLite database in /etc/freeblox_config/DB . Looking at messages regarding SQLite and this error, it looked like a file permissions problem, so I changed permissions on the DB folder and the files within to 777. I know this is a huge security risk, but I'm just seeing if I can get it to work somehow; unfortunately opening the permissions on these files/this folder did nothing to resolve my problem.

This is a fresh distro install with essentially zero configuration on it; not sure why I can't start basic configuration, did I mess up somewhere in the install, maybe?

Attachments:
Capture.PNG
0 link






Powered by blox.org 1.0.0.0 © 2015