Whitelist problem

Started by Antaris, May 30, 2021, 04:39:22 PM

Previous topic - Next topic
With this version comes tabbed White/Black lists.
When I'm trying to add domain it returns:

"1220 - SQLite3..prepare(). Unable to prepare statement. 1, table custom_web_category_sites has no column named category_type (errno=2)"

with no success to add the domain.
Proxmox enthusiast @home, bare metal @work.

Hi Antaris,

Please run the following commands;

echo -n "alter table custom_web_category_sites add category_type TEXT default 'domain'"| /usr/local/bin/sqlite3 /usr/local/sensei/userdefined/config/settings.db

then

echo -n "update custom_web_category_sites set category_type='domain' where category_type = ''"| /usr/local/bin/sqlite3 /usr/local/sensei/userdefined/config/settings.db


Hi sy,

There is a improvement: it not returns error, but domains are still not shown in the list:
Proxmox enthusiast @home, bare metal @work.

Hi Antaris,

Please send a bug report by selecting sensei config and logs.

Full report sent.
Proxmox enthusiast @home, bare metal @work.

Solved by Matt via mail.
Last command was:
echo -n "alter table custom_web_category_sites add is_global INTEGER default 0"| /usr/local/bin/sqlite3 /usr/local/sensei/userdefined/config/settings.db
If anyone is in the same situation.
Proxmox enthusiast @home, bare metal @work.