Forum archive
Tried to update confconsole hoping update Lets Encrypt feature and broke it completely
Hello,
please be gentle with me because im linux n00b.
I tried to update confconsole hoping it will add new fetures for lets encrypt but during update i opted to replace config file and got bunch of errors when starting it now.
Heres what i manage to see on putty console. I hope its enough?
TurnKey GNU/Linux Configuration Console
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
lqqqqqqqqqqqqqqqqqqqqCaught exceptionqqqqqqqqqqqqqqqqqqqqqqk
x ifname = self._get_default_nic() x
x File "/usr/bin/confconsole", line 238, in x
x _get_default_nic x
x if _validip(ifname): x
x File "/usr/bin/confconsole", line 228, in _validip x
x ip = ifutil.get_ipconf(ifname)[0] x
x File "/usr/lib/confconsole/ifutil.py", line 247, in x
x get_ipconf x
x return net.addr, net.netmask, x
x net.get_gateway(error), get_nameservers(ifname) x
x File x
x "/usr/lib/python3/dist-packages/netinfo/__init__.py", x
x line 85, in __getattr__ x
x raise AttributeError("no such attribute: " + x
x attrname) x
x AttributeError: no such attribute: get_gateway x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq100%qu
x < ok > x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
Traceback (most recent call last):
File "/usr/bin/confconsole", line 663, in loop
new_dialog = method()
File "/usr/bin/confconsole", line 356, in usage
ifname = self._get_default_nic()
File "/usr/bin/confconsole", line 238, in _get_default_nic
if _validip(ifname):
File "/usr/bin/confconsole", line 228, in _validip
ip = ifutil.get_ipconf(ifname)[0]
File "/usr/lib/confconsole/ifutil.py", line 247, in get_ipconf
return net.addr, net.netmask, net.get_gateway(error), get_nameservers(ifname)
File "/usr/lib/python3/dist-packages/netinfo/__init__.py", line 85, in __getattr__
raise AttributeError("no such attribute: " + attrname)
AttributeError: no such attribute: get_gatewayDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/confconsole", line 731, in <module>
main()
File "/usr/bin/confconsole", line 726, in main
tc.loop()
File "/usr/bin/confconsole", line 673, in loop
self.console.msgbox("Caught exception", sio.getvalue())
File "/usr/bin/confconsole", line 126, in msgbox
title=title, ok_label=button_label)
File "/usr/bin/confconsole", line 96, in _wrapper
ret = method("\n" + text, *args, **kws)
File "/usr/lib/python3/dist-packages/dialog.py", line 3028, in msgbox
kwargs)
File "/usr/lib/python3/dist-packages/dialog.py", line 1717, in _widget_with_no_output
code, output = self._perform(args, **kwargs)
File "/usr/lib/python3/dist-packages/dialog.py", line 1504, in _perform
args_file)
File "/usr/lib/python3/dist-packages/dialog.py", line 1469, in _handle_program_exit
child_output_rfd)
File "/usr/lib/python3/dist-packages/dialog.py", line 1394, in _wait_for_program_termination
child_output = f.read()
KeyboardInterrupt
root@nextcloud ~#
Output of
root@nextcloud ~# apt policy confconsole dehydrated
confconsole:
Installed: 2.0.2+4+gef5db16
Candidate: 2.0.2+4+gef5db16
Version table:
*** 2.0.2+4+gef5db16 999
999 http://archive.turnkeylinux.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
dehydrated:
Installed: 0.6.2-2+deb10u1
Candidate: 0.6.2-2+deb10u1
Version table:
*** 0.6.2-2+deb10u1 500
500 http://deb.debian.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
If someone please help me to fix this i will be really thankfull. Its Nextcloud instance which i cannot backup and reinstall easy. Not even remotely easy just for that.
Many thnx in advance!
I just had a colleague have a quick look and he noted that your version of 'turnkey-netinfo' likely needs update too. TBH, I'm not sure that is the issue, but it surely won't hurt!