OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • Whitelist problem
« previous next »
  • Print
Pages: [1]

Author Topic: Whitelist problem  (Read 2958 times)

Antaris

  • Full Member
  • ***
  • Posts: 145
  • Karma: 13
    • View Profile
    • EVOTEK ltd.
Whitelist problem
« on: May 30, 2021, 04:39:22 pm »
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.
Logged
Proxmox enthusiast @home, bare metal @work.

sy

  • Sr. Member
  • ****
  • Posts: 347
  • Karma: 28
    • View Profile
Re: Whitelist problem
« Reply #1 on: May 31, 2021, 04:30:30 pm »
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

Logged

Antaris

  • Full Member
  • ***
  • Posts: 145
  • Karma: 13
    • View Profile
    • EVOTEK ltd.
Re: Whitelist problem
« Reply #2 on: June 02, 2021, 06:49:06 am »
Hi sy,

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

sy

  • Sr. Member
  • ****
  • Posts: 347
  • Karma: 28
    • View Profile
Re: Whitelist problem
« Reply #3 on: June 02, 2021, 03:05:15 pm »
Hi Antaris,

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

Antaris

  • Full Member
  • ***
  • Posts: 145
  • Karma: 13
    • View Profile
    • EVOTEK ltd.
Re: Whitelist problem
« Reply #4 on: June 02, 2021, 06:08:39 pm »
Full report sent.
Logged
Proxmox enthusiast @home, bare metal @work.

Antaris

  • Full Member
  • ***
  • Posts: 145
  • Karma: 13
    • View Profile
    • EVOTEK ltd.
Re: Whitelist problem
« Reply #5 on: June 02, 2021, 08:48:19 pm »
Solved by Matt via mail.
Last command was:
Code: [Select]
echo -n "alter table custom_web_category_sites add is_global INTEGER default 0"| /usr/local/bin/sqlite3 /usr/local/sensei/userdefined/config/settings.dbIf anyone is in the same situation.
Logged
Proxmox enthusiast @home, bare metal @work.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • Whitelist problem
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2