Hello,
I test several hours to install on new ubuntu server for weewx.

I install it via DEB or via setup.py script. compete new installed.
No any errors during install. Then i start to have the orginal weewx.conf 
only start changing the Station Type to Simulator and a section to 
[Simulator]

First i install it on LXC in Proxmox 20.04 focal.Then i test it to run on 
VM Ubuntu Server image but same situation?

I run weewx many years from to 3.x to 4.x and also updated on python3 on my 
RPI but now i would want to migrate all to Proxmox LXC Container but since 
hours i have no glue why it cannot start.

Can anybody help me please!

Thx Manfred

But: After start is see following issue in syslog Container Install:

Jan 14 13:29:13 Weewx systemd[1]: Starting LSB: weewx weather system...
Jan 14 13:29:13 Weewx weewx[462]:  * Starting weewx weather system weewx
Jan 14 13:29:13 Weewx weewx[473] INFO __main__: Initializing weewx version 
4.5.1
Jan 14 13:29:13 Weewx weewx[473] INFO __main__: Using Python 3.8.10 
(default, Nov 26 2021, 20:14:08) #012[GCC 9.3.0]
Jan 14 13:29:13 Weewx weewx[473] INFO __main__: Platform 
Linux-5.13.19-2-pve-x86_64-with-glibc2.29
Jan 14 13:29:13 Weewx weewx[473] INFO __main__: Locale is 'de_AT.UTF-8'
Jan 14 13:29:13 Weewx weewx[473] INFO __main__: PID file is 
/var/run/weewx.pid
Jan 14 13:29:13 Weewx weewx[462]:    ...done.
Jan 14 13:29:13 Weewx systemd[1]: Started LSB: weewx weather system.
Jan 14 13:29:13 Weewx weewx[478] INFO __main__: Using configuration file 
/home/weewx/weewx.conf
Jan 14 13:29:13 Weewx weewx[478] INFO __main__: Debug is 1
Jan 14 13:29:13 Weewx weewx[478] DEBUG __main__: Initializing engine
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__: Caught unrecoverable 
exception:
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****  'driver'
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****  Traceback 
(most recent call last):
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewxd", line 151, in main
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****      engine = 
weewx.engine.StdEngine(config_dict)
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 81, in __init__
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****     
 self.setupStation(config_dict)
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 103, in setupStation
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****      driver = 
config_dict[station_type]['driver']
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****    File 
"/usr/lib/python3/dist-packages/configobj.py", line 554, in __getitem__
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****      val = 
dict.__getitem__(self, key)
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****  KeyError: 
'driver'
Jan 14 13:29:13 Weewx weewx[478] CRITICAL __main__:     ****  Exiting.

And in VM Install with Ubuntu ISO same issue

Jan 14 14:32:18 weewx-ubuntu systemd[1]: Starting LSB: weewx weather 
system...
Jan 14 14:32:18 weewx-ubuntu weewx[9110]:  * Starting weewx weather system 
weewx
Jan 14 14:32:18 weewx-ubuntu weewx[9121] INFO __main__: Initializing weewx 
version 4.5.1
Jan 14 14:32:18 weewx-ubuntu weewx[9121] INFO __main__: Using Python 3.8.10 
(default, Nov 26 2021, 20:14:08) #012[GCC 9.3.0]
Jan 14 14:32:18 weewx-ubuntu weewx[9121] INFO __main__: Platform 
Linux-5.4.0-94-generic-x86_64-with-glibc2.29
Jan 14 14:32:18 weewx-ubuntu weewx[9121] INFO __main__: Locale is 
'en_US.UTF-8'
Jan 14 14:32:18 weewx-ubuntu weewx[9121] INFO __main__: PID file is 
/var/run/weewx.pid
Jan 14 14:32:18 weewx-ubuntu weewx[9125] INFO __main__: Using configuration 
file /home/weewx/weewx.conf
Jan 14 14:32:18 weewx-ubuntu weewx[9125] INFO __main__: Debug is 0
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__: Caught 
unrecoverable exception:
Jan 14 14:32:18 weewx-ubuntu weewx[9110]:    ...done.
Jan 14 14:32:18 weewx-ubuntu systemd[1]: Started LSB: weewx weather system.
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     **** 
 'driver'
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     **** 
 Traceback (most recent call last):
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****   
 File "/home/weewx/bin/weewxd", line 151, in main
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****     
 engine = weewx.engine.StdEngine(config_dict)
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****   
 File "/home/weewx/bin/weewx/engine.py", line 81, in __init__
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****     
 self.setupStation(config_dict)
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****   
 File "/home/weewx/bin/weewx/engine.py", line 103, in setupStation
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****     
 driver = config_dict[station_type]['driver']
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****   
 File "/usr/lib/python3/dist-packages/configobj.py", line 554, in 
__getitem__
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     ****     
 val = dict.__getitem__(self, key)
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     **** 
 KeyError: 'driver'
Jan 14 14:32:18 weewx-ubuntu weewx[9125] CRITICAL __main__:     **** 
 Exiting.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2a989825-163b-4473-bdbf-5e0ff52ad25an%40googlegroups.com.

Reply via email to