ERROR: 'NoneType' attribute 'db' when installing AS

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Himea
OpenVpn Newbie
Posts: 5
Joined: Wed Jul 31, 2019 10:13 pm

ERROR: 'NoneType' attribute 'db' when installing AS

Post by Himea » Wed Jul 31, 2019 10:18 pm

Hello,

I'm trying to install OVPN-AS on my Ubuntu18.10 server, when I run DPKG I get the following errors:

Code: Select all

(Reading database ... 154923 files and directories currently installed.)
Preparing to unpack openvpn-as-latest-ubuntu18.amd_64.deb ...
Unpacking openvpn-as (2.7.4-777bcfe6-Ubuntu18) ...
Setting up openvpn-as (2.7.4-777bcfe6-Ubuntu18) ...
Regenerating etc openvpnas script...
writing systemd service to /etc/systemd/system/openvpnas.service
Created symlink /etc/systemd/system/multi-user.target.wants/openvpnas.service → /etc/systemd/system/openvpnas.service.
Regenerating startup/shutdown scripts...
Backing up configuration and DB files to /usr/local/openvpn_as/etc/backup prior to update.
ERROR: 'NoneType' object has no attribute 'db': util/options:79,db/confdb_admin:322,db/confdb:758,db/confdb:746,db/confdb:740 (exceptions.AttributeError)
ERROR: 'NoneType' object has no attribute 'db': util/options:79,db/confdb_admin:322,db/confdb:758,db/confdb:746,db/confdb:740 (exceptions.AttributeError)
ERROR: 'NoneType' object has no attribute 'db': util/options:79,db/confdb_admin:322,db/confdb:758,db/confdb:746,db/confdb:740 (exceptions.AttributeError)
Beginning with OpenVPN AS 2.6.0 compression is disabled by default and on upgrades as security patch.
ERROR: 'NoneType' object has no attribute 'db': util/options:79,db/confdb_admin:322,db/confdb:758,db/confdb:746,db/confdb:740 (exceptions.AttributeError)
I'm not the most experienced Linux user and I couldn't find any answers after a couple of hours practicing my Google-Fu. Can anyone give me some pointers on what might be causing this issue?

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 6218
Joined: Fri Jun 03, 2016 1:17 pm

Re: ERROR: 'NoneType' attribute 'db' when installing AS

Post by TinCanTech » Wed Jul 31, 2019 10:31 pm


Himea
OpenVpn Newbie
Posts: 5
Joined: Wed Jul 31, 2019 10:13 pm

Re: ERROR: 'NoneType' attribute 'db' when installing AS

Post by Himea » Thu Aug 01, 2019 1:53 am

Sorry, the reply is a little vague. I apologize if this is the wrong forum. Here is the OS version:

Code: Select all

Linux user 4.18.0-25-generic #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I don't have any conf files since I can't even get the program to install.

I checked the sha256sum of the downloaded file and it matches up, and I cleared out the apt and dpkg on my server, still having issues getting it to install. I installed net-tools and NTP and checked the timezone on dpkp. Is there some type of library or program I need to have?

Remade this thread under the (I presume) suggested sub-forum: viewtopic.php?f=24&t=28653

Post Reply