xirixiz / dsmr-reader-docker

DSMR Reader in Docker.
https://hub.docker.com/r/xirixiz/dsmr-reader-docker
114 stars 33 forks source link

DSMR not starting anymore #126

Closed svh1985 closed 4 years ago

svh1985 commented 4 years ago

Hi,

After some months of running DSMR it stopped working. I have no idea why tbh. Does anybody know how to solve this?

Supervisor logs:

Traceback (most recent call last):
  File "/dsmr/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 345, in execute
    settings.INSTALLED_APPS
  File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 70, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 177, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/dsmr/dsmrreader/settings.py", line 35, in <module>
    LOGGING['loggers']['commands']['level'] = os.environ.get('DSMRREADER_LOGLEVEL')
KeyError: 'commands'

I recreated the container but the problem remains:


2020-08-29T15:49:25.096201371Z 
[ INFO ] Verifying if the DSMR web credential variables have been set...,
2020-08-29T15:49:25.096222971Z 
[ INFO ] Verifying if DSMR_RELEASE has been set correctly!,
2020-08-29T15:49:25.096284821Z 
[ INFO ] Fixing /dev/ttyUSB* security...,
2020-08-29T15:49:25.096312214Z 
[ INFO ] Removing existing PID files...,
2020-08-29T15:49:25.096766691Z 
[ INFO ] Creating log directory...,
2020-08-29T15:49:25.097345000Z 
[ INFO ] Using the latest release.,
2020-08-29T15:49:25.313192531Z 
[ INFO ] Either the current release is out of sync, or no version has been installed yet! Installing v4.3.0...,
2020-08-29T15:49:25.317132863Z find: /dsmr/dsmrreader/settings.py: Resource busy,
2020-08-29T15:49:25.317172339Z find: /dsmr/dsmrreader: Directory not empty,
2020-08-29T15:49:25.319145151Z /dsmr /,
2020-08-29T15:49:25.325576748Z --2020-08-29 17:49:25--  https://github.com/dennissiemensma/dsmr-reader/archive/v4.3.0.tar.gz,
2020-08-29T15:49:25.379468329Z Resolving github.com (github.com)... 140.82.118.3,
2020-08-29T15:49:25.402231987Z Connecting to github.com (github.com)|140.82.118.3|:443... connected.,
2020-08-29T15:49:25.635675996Z HTTP request sent, awaiting response... 302 Found,
2020-08-29T15:49:25.635742635Z Location: https://codeload.github.com/dennissiemensma/dsmr-reader/tar.gz/v4.3.0 [following],
2020-08-29T15:49:25.635756387Z --2020-08-29 17:49:25--  https://codeload.github.com/dennissiemensma/dsmr-reader/tar.gz/v4.3.0,
2020-08-29T15:49:25.672734054Z Resolving codeload.github.com (codeload.github.com)... 140.82.121.9,
2020-08-29T15:49:25.692155541Z Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected.,
2020-08-29T15:49:25.915513790Z HTTP request sent, awaiting response... 200 OK,
2020-08-29T15:49:25.915842519Z Length: unspecified [application/x-gzip],
2020-08-29T15:49:25.916098651Z Saving to: 'v4.3.0.tar.gz',
2020-08-29T15:49:25.916276118Z ,
2020-08-29T15:49:25.962133241Z      0K .......... .......... .......... .......... .......... 1.06M,
2020-08-29T15:49:25.977714533Z     50K .......... .......... .......... .......... .......... 3.12M,
2020-08-29T15:49:25.993519113Z    100K .......... .......... .......... .......... .......... 3.08M,
2020-08-29T15:49:26.003103495Z    150K .......... .......... .......... .......... .......... 5.09M,
2020-08-29T15:49:26.010881772Z    200K .......... .......... .......... .......... .......... 6.31M,
2020-08-29T15:49:26.015831807Z    250K .......... .......... .......... .......... .......... 9.83M,
2020-08-29T15:49:26.017568689Z    300K .......... .......... .......... .......... .......... 27.8M,
2020-08-29T15:49:26.020949399Z    350K .......... .......... .......... .......... .......... 78.5M,
2020-08-29T15:49:26.021678878Z    400K .......... .......... .......... .......... .......... 14.0M,
2020-08-29T15:49:26.028008988Z    450K .......... .......... .......... .......... .......... 7.71M,
2020-08-29T15:49:26.028443402Z    500K .......... .......... .......... .......... ..........  111M,
2020-08-29T15:49:26.033260745Z    550K .......... .......... .......... .......... .......... 10.1M,
2020-08-29T15:49:26.033719320Z    600K .......... .......... .......... .......... ..........  106M,
2020-08-29T15:49:26.035530201Z    650K .......... .......... .......... .......... .......... 27.0M,
2020-08-29T15:49:26.040508879Z    700K .......... .......... .......... .......... .......... 9.80M,
2020-08-29T15:49:26.042193268Z    750K .......... .......... .......... .......... .......... 28.9M,
2020-08-29T15:49:26.043954668Z    800K .......... .......... .......... .......... .......... 27.6M,
2020-08-29T15:49:26.045644813Z    850K .......... .......... .......... .......... .......... 29.0M,
2020-08-29T15:49:26.057845219Z    900K .......... .......... .......... .......... .......... 4.02M,
2020-08-29T15:49:26.059638024Z    950K .......... .......... .......... .......... .......... 27.4M,
2020-08-29T15:49:26.061267544Z   1000K .......... .......... .......... .......... .......... 30.0M,
2020-08-29T15:49:26.063026928Z   1050K .......... .......... .......... .......... .......... 27.9M,
2020-08-29T15:49:26.065426661Z   1100K .......... .......... .......... .......... .......... 20.2M,
2020-08-29T15:49:26.066871743Z   1150K .......... .......... .......... .......... .......... 32.5M,
2020-08-29T15:49:26.068557470Z   1200K .......... .......... .......... .......... .......... 28.9M,
2020-08-29T15:49:26.070291670Z   1250K .......... .......... .......... .......... .......... 28.2M,
2020-08-29T15:49:26.071878943Z   1300K .......... .......... .......... .......... .......... 30.7M,
2020-08-29T15:49:26.073727517Z   1350K .......... .......... .......... .......... .......... 26.6M,
2020-08-29T15:49:26.075425355Z   1400K .......... .......... .......... .......... .......... 28.7M,
2020-08-29T15:49:26.077088595Z   1450K .......... .......... .......... .......... .......... 29.4M,
2020-08-29T15:49:26.078849256Z   1500K .......... .......... .......... .......... .......... 28.4M,
2020-08-29T15:49:26.080483723Z   1550K .......... .......... .......... .......... .......... 29.6M,
2020-08-29T15:49:26.082199331Z   1600K .......... .......... .......... .......... .......... 28.2M,
2020-08-29T15:49:26.083959253Z   1650K .......... .......... .......... .......... .......... 27.6M,
2020-08-29T15:49:26.084371727Z   1700K .......... .......... .......... .......... ..........  117M,
2020-08-29T15:49:26.087388851Z   1750K .......... .......... .......... .......... .......... 16.3M,
2020-08-29T15:49:26.089049006Z   1800K .......... .......... .......... .......... .......... 29.3M,
2020-08-29T15:49:26.159324893Z   1850K .......... .......... .......... .......... ..........  712K,
2020-08-29T15:49:26.159449271Z   1900K .......... .......... .......... .......... ..........  399M,
2020-08-29T15:49:26.159548178Z   1950K .......... .......... .......... .......... ..........  377M,
2020-08-29T15:49:26.159662381Z   2000K .......... .......... .......... .......... ..........  432M,
2020-08-29T15:49:26.159796905Z   2050K .......... .......... .......... .......... ..........  364M,
2020-08-29T15:49:26.159933478Z   2100K .......... .......... .......... .......... ..........  348M,
2020-08-29T15:49:26.160092564Z   2150K .......... .......... .......... .......... ..........  326M,
2020-08-29T15:49:26.160232652Z   2200K .......... .......... .......... .......... ..........  339M,
2020-08-29T15:49:26.160376241Z   2250K .......... .......... .......... .......... ..........  340M,
2020-08-29T15:49:26.160525827Z   2300K .......... .......... .......... .......... ..........  336M,
2020-08-29T15:49:26.160677316Z   2350K .......... .......... .......... .......... ..........  334M,
2020-08-29T15:49:26.160816041Z   2400K .......... .......... .......... .......... ..........  337M,
2020-08-29T15:49:26.160983915Z   2450K .......... .......... .......... .......... ..........  283M,
2020-08-29T15:49:26.161132327Z   2500K .......... .......... .......... .......... ..........  334M,
2020-08-29T15:49:26.161305271Z   2550K .......... .......... .......... .......... ..........  282M,
2020-08-29T15:49:26.161462752Z   2600K .......... .......... .......... .......... ..........  314M,
2020-08-29T15:49:26.161604690Z   2650K .......... .......... .......... .......... ..........  342M,
2020-08-29T15:49:26.161761691Z   2700K .......... .......... .......... .......... ..........  339M,
2020-08-29T15:49:26.161920886Z   2750K .......... .......... .......... .......... ..........  293M,
2020-08-29T15:49:26.162053403Z   2800K .......... .......... .......... .......... ..........  347M,
2020-08-29T15:49:26.162193254Z   2850K .......... .......... .......... .......... ..........  355M,
2020-08-29T15:49:26.162366883Z   2900K .......... .......... .......... .......... ..........  322M,
2020-08-29T15:49:26.162505674Z   2950K .......... .......... .......... .......... ..........  307M,
2020-08-29T15:49:26.162648531Z   3000K .......... .......... .......... .......... ..........  335M,
2020-08-29T15:49:26.162810707Z   3050K .......... .......... .......... .......... ..........  301M,
2020-08-29T15:49:26.163111548Z   3100K .......... .......... .......... .......... ..........  158M,
2020-08-29T15:49:26.163523722Z   3150K .......... .......... .......... .......... ..........  126M,
2020-08-29T15:49:26.163942448Z   3200K .......... .......... .......... .......... ..........  111M,
2020-08-29T15:49:26.164344165Z   3250K .......... .......... .......... .......... ..........  127M,
2020-08-29T15:49:26.164721078Z   3300K .......... .......... .......... .......... ..........  127M,
2020-08-29T15:49:26.165047935Z   3350K .......... .......... .......... .......... ..........  151M,
2020-08-29T15:49:26.165355132Z   3400K .......... .......... .......... .......... ..........  153M,
2020-08-29T15:49:26.165678566Z   3450K .......... .......... .......... .......... ..........  157M,
2020-08-29T15:49:26.165993943Z   3500K .......... .......... .......... .......... ..........  150M,
2020-08-29T15:49:26.166135986Z   3550K .......... .......... .......... .......... ..........  416M,
2020-08-29T15:49:26.166244749Z   3600K .......... .......... .......... .......... ..........  378M,
2020-08-29T15:49:26.166510621Z   3650K .......... .......... .......... .......... ..........  189M,
2020-08-29T15:49:26.166822641Z   3700K .......... .......... .......... .......... ..........  156M,
2020-08-29T15:49:26.167134104Z   3750K .......... .......... .......... .......... ..........  153M,
2020-08-29T15:49:26.167443299Z   3800K .......... .......... .......... .......... ..........  160M,
2020-08-29T15:49:26.167762324Z   3850K .......... .......... .......... .......... ..........  153M,
2020-08-29T15:49:26.168114342Z   3900K .......... .......... .......... .......... ..........  141M,
2020-08-29T15:49:26.168428437Z   3950K .......... .......... .......... .......... ..........  151M,
2020-08-29T15:49:26.168750868Z   4000K .......... .......... .......... .......... ..........  154M,
2020-08-29T15:49:26.169061007Z   4050K .......... .......... .......... .......... ..........  153M,
2020-08-29T15:49:26.169375221Z   4100K .......... .......... .......... .......... ..........  159M,
2020-08-29T15:49:26.169711857Z   4150K .......... .......... .......... .......... ..........  142M,
2020-08-29T15:49:26.170052780Z   4200K .......... .......... .......... .......... ..........  146M,
2020-08-29T15:49:26.170373785Z   4250K .......... .......... .......... .......... ..........  149M,
2020-08-29T15:49:26.170686889Z   4300K .......... .......... .......... .......... ..........  159M,
2020-08-29T15:49:26.171021944Z   4350K .......... .......... .......... .......... ..........  147M,
2020-08-29T15:49:26.185291976Z   4400K .......... .......... .......... .......... ..........  157M,
2020-08-29T15:49:26.185766211Z   4450K .......... .......... .......... .......... .......... 3.41M,
2020-08-29T15:49:26.187026736Z   4500K .......... .......... .......... .......... ..........  103M,
2020-08-29T15:49:26.188795243Z   4550K .......... .......... .......... .......... .......... 37.3M,
2020-08-29T15:49:26.189292126Z   4600K .......... .......... .......... .......... .......... 27.8M,
2020-08-29T15:49:26.191049283Z   4650K .......... .......... .......... .......... .......... 26.4M,
2020-08-29T15:49:26.192587306Z   4700K .......... .......... .......... .......... .......... 31.9M,
2020-08-29T15:49:26.194346535Z   4750K .......... .......... .......... .......... .......... 27.9M,
2020-08-29T15:49:26.196002116Z   4800K .......... .......... .......... .......... .......... 29.3M,
2020-08-29T15:49:26.197745681Z   4850K .......... .......... .......... .......... .......... 28.1M,
2020-08-29T15:49:26.199442471Z   4900K .......... .......... .......... .......... .......... 28.7M,
2020-08-29T15:49:26.201156637Z   4950K .......... .......... .......... .......... .......... 28.5M,
2020-08-29T15:49:26.202868893Z   5000K .......... .......... .......... .......... .......... 28.3M,
2020-08-29T15:49:26.204611929Z   5050K .......... .......... .......... .......... .......... 28.2M,
2020-08-29T15:49:26.206349994Z   5100K .......... .......... .......... .......... .......... 28.0M,
2020-08-29T15:49:26.208066657Z   5150K .......... .......... .......... .......... .......... 28.7M,
2020-08-29T15:49:26.209806186Z   5200K .......... .......... .......... .......... .......... 27.8M,
2020-08-29T15:49:26.230768410Z   5250K .......... .......... .......... .......... .......... 2.33M,
2020-08-29T15:49:26.232445304Z   5300K .......... .......... .......... .......... .......... 28.7M,
2020-08-29T15:49:26.246468796Z   5350K .......... .......... .......... .......... .......... 3.49M,
2020-08-29T15:49:26.246789115Z   5400K .......... .......... .......... .......... ..........  142M,
2020-08-29T15:49:26.247133021Z   5450K .......... .......... .......... .......... ..........  148M,
2020-08-29T15:49:26.252037926Z   5500K .......... .......... .......... .......... .......... 9.97M,
2020-08-29T15:49:26.262059310Z   5550K .......... .......... .......... .......... .......... 4.87M,
2020-08-29T15:49:26.274658822Z   5600K .......... .......... .......... .......... .......... 3.89M,
2020-08-29T15:49:26.276641287Z   5650K .......... .......... .......... .......... .......... 24.1M,
2020-08-29T15:49:26.285414693Z   5700K .......... .......... .......... .......... .......... 5.56M,
2020-08-29T15:49:26.286811171Z   5750K .......... .......... .......... .......... .......... 34.4M,
2020-08-29T15:49:26.297296380Z   5800K .......... .......... .......... .......... .......... 4.66M,
2020-08-29T15:49:26.316507914Z   5850K .......... .......... .......... .......... .......... 2.54M,
2020-08-29T15:49:26.318198968Z   5900K .......... .......... .......... .......... .......... 28.9M,
2020-08-29T15:49:26.330462385Z   5950K .......... .......... .......... .......... .......... 3.98M,
2020-08-29T15:49:26.358623344Z   6000K .......... .......... .......... .......... .......... 1.73M,
2020-08-29T15:49:26.360299442Z   6050K .......... .......... .......... .......... .......... 29.2M,
2020-08-29T15:49:26.367081833Z   6100K .......... .......... .......... .......... .......... 7.20M,
2020-08-29T15:49:26.386231145Z   6150K .......... .......... .......... .......... .......... 2.57M,
2020-08-29T15:49:26.386782900Z   6200K .......... .......... .......... .......... .......... 67.2M,
2020-08-29T15:49:26.395924997Z   6250K .......... .......... .......... .......... .......... 5.35M,
2020-08-29T15:49:26.409819706Z   6300K .......... .......... .......... .......... .......... 3.51M,
2020-08-29T15:49:26.423649613Z   6350K .......... .......... .......... .......... .......... 3.54M,
2020-08-29T15:49:26.435949837Z   6400K .......... .......... .......... .......... .......... 4.01M,
2020-08-29T15:49:26.449514879Z   6450K .......... .......... .......... .......... .......... 3.56M,
2020-08-29T15:49:26.451535255Z   6500K .......... .......... .......... .......... .......... 24.0M,
2020-08-29T15:49:26.463106998Z   6550K .......... .......... .......... .......... .......... 4.28M,
2020-08-29T15:49:26.486478319Z   6600K .......... .......... .......... .......... .......... 2.08M,
2020-08-29T15:49:26.488059634Z   6650K .......... .......... .......... .......... .......... 29.6M,
2020-08-29T15:49:26.496644314Z   6700K .......... .......... .......... .......... .......... 5.73M,
2020-08-29T15:49:26.505261222Z   6750K .......... .......... .......... .......... .......... 5.63M,
2020-08-29T15:49:26.524307447Z   6800K .......... .......... .......... .......... .......... 2.58M,
2020-08-29T15:49:26.526352050Z   6850K .......... .......... .......... .......... .......... 23.5M,
2020-08-29T15:49:26.536664424Z   6900K .......... .......... .......... .......... .......... 4.71M,
2020-08-29T15:49:26.558364636Z   6950K .......... .......... .......... .......... .......... 2.26M,
2020-08-29T15:49:26.560822901Z   7000K .......... .......... .......... .......... .......... 19.5M,
2020-08-29T15:49:26.566141837Z   7050K .......... .......... .......... .......... .......... 8.99M,
2020-08-29T15:49:26.567158517Z   7100K .......... .......... .......... .......... .......... 48.1M,
2020-08-29T15:49:26.579182604Z   7150K .......... .......... .......... .......... .......... 4.06M,
2020-08-29T15:49:26.584401453Z   7200K .......... .......... .......... .......... .......... 9.48M,
2020-08-29T15:49:26.592495354Z   7250K .......... .......... .......... .......... .......... 5.98M,
2020-08-29T15:49:26.604941701Z   7300K .......... .......... .......... .......... .......... 3.92M,
2020-08-29T15:49:26.631635549Z   7350K .......... .......... .......... .......... .......... 1.83M,
2020-08-29T15:49:26.633222995Z   7400K .......... .......... .......... .......... .......... 30.3M,
2020-08-29T15:49:26.640724474Z   7450K .......... .......... .......... .......... .......... 6.46M,
2020-08-29T15:49:26.643907309Z   7500K .......... .......... .......... .......... .......... 15.4M,
2020-08-29T15:49:26.648776320Z   7550K .......... .......... .......... .......... .......... 10.0M,
2020-08-29T15:49:26.650474400Z   7600K .......... .......... .......... .......... .......... 28.7M,
2020-08-29T15:49:26.652040328Z   7650K .......... .......... .......... .......... .......... 31.3M,
2020-08-29T15:49:26.653738531Z   7700K .......... .......... .......... .......... .......... 28.8M,
2020-08-29T15:49:26.655413290Z   7750K .......... .......... .......... .......... .......... 29.0M,
2020-08-29T15:49:26.669404055Z   7800K .......... .......... .......... .......... .......... 3.49M,
2020-08-29T15:49:26.671194169Z   7850K .......... .......... .......... .......... .......... 27.4M,
2020-08-29T15:49:26.674619457Z   7900K .......... .......... .......... .......... .......... 14.2M,
2020-08-29T15:49:26.688602134Z   7950K .......... .......... .......... .......... .......... 3.64M,
2020-08-29T15:49:26.697641932Z   8000K .......... .......... .......... .......... .......... 5.10M,
2020-08-29T15:49:26.709540160Z   8050K .......... .......... .......... .......... .......... 4.10M,
2020-08-29T15:49:26.710099273Z   8100K .......... .......... .......... .......... .......... 87.5M,
2020-08-29T15:49:26.723618807Z   8150K .......... .......... .......... .......... .......... 3.61M,
2020-08-29T15:49:26.725804234Z   8200K .......... .......... .......... .......... .......... 22.3M,
2020-08-29T15:49:26.730558840Z   8250K .......... .......... .......... .......... .......... 10.3M,
2020-08-29T15:49:26.731051529Z   8300K .......... .......... .......... .......... .......... 94.7M,
2020-08-29T15:49:26.734743779Z   8350K .......... .......... .......... .......... .......... 13.2M,
2020-08-29T15:49:26.736268366Z   8400K .......... .......... .......... .......... .......... 32.3M,
2020-08-29T15:49:26.737964340Z   8450K .......... .......... .......... .......... .......... 28.8M,
2020-08-29T15:49:26.739685890Z   8500K .......... .......... .......... .......... .......... 28.3M,
2020-08-29T15:49:26.748195306Z   8550K .......... .......... .......... .......... .......... 5.74M,
2020-08-29T15:49:26.751741475Z   8600K .......... .......... .......... .......... .......... 13.8M,
2020-08-29T15:49:26.769332199Z   8650K .......... .......... .......... .......... .......... 2.78M,
2020-08-29T15:49:26.770919143Z   8700K .......... .......... .......... .......... .......... 30.1M,
2020-08-29T15:49:26.774529272Z   8750K .......... .......... .......... .......... .......... 14.3M,
2020-08-29T15:49:26.777775320Z   8800K .......... .......... .......... .......... .......... 14.2M,
2020-08-29T15:49:26.779542844Z   8850K .......... .......... .......... .......... .......... 28.2M,
2020-08-29T15:49:26.781262388Z   8900K .......... .......... .......... .......... .......... 27.9M,
2020-08-29T15:49:26.784702795Z   8950K .......... .......... .......... .......... .......... 14.1M,
2020-08-29T15:49:26.791846252Z   9000K .......... .......... .......... .......... .......... 6.85M,
2020-08-29T15:49:26.793868238Z   9050K .......... .......... .......... .......... .......... 24.0M,
2020-08-29T15:49:26.795666182Z   9100K .......... .......... .......... .......... .......... 27.3M,
2020-08-29T15:49:26.799812390Z   9150K .......... .......... .......... .......... .......... 14.5M,
2020-08-29T15:49:26.807213509Z   9200K .......... .......... .......... .......... .......... 5.98M,
2020-08-29T15:49:26.807869824Z   9250K .......... .......... .......... .......... .......... 73.4M,
2020-08-29T15:49:26.811150939Z   9300K .......... .......... .......... .......... .......... 14.9M,
2020-08-29T15:49:26.812942788Z   9350K .......... .......... .......... .......... .......... 27.0M,
2020-08-29T15:49:26.814599016Z   9400K .......... .......... .......... .......... .......... 29.4M,
2020-08-29T15:49:26.816307297Z   9450K .......... .......... .......... .......... .......... 28.6M,
2020-08-29T15:49:26.818052489Z   9500K .......... .......... .......... .......... .......... 28.1M,
2020-08-29T15:49:26.821503346Z   9550K .......... .......... .......... .......... .......... 14.1M,
2020-08-29T15:49:26.823261031Z   9600K .......... .......... .......... .......... .......... 27.7M,
2020-08-29T15:49:26.824956307Z   9650K .......... .......... .......... .......... .......... 28.7M,
2020-08-29T15:49:26.830140275Z   9700K .......... .......... .......... .......... .......... 9.44M,
2020-08-29T15:49:26.831917520Z   9750K .......... .......... .......... .......... .......... 27.5M,
2020-08-29T15:49:26.835462619Z   9800K .......... .......... .......... .......... .......... 13.8M,
2020-08-29T15:49:26.835978789Z   9850K .......... .......... .......... .......... .......... 89.6M,
2020-08-29T15:49:26.840345830Z   9900K .......... .......... .......... .......... .......... 11.2M,
2020-08-29T15:49:26.840997566Z   9950K .......... .......... .......... .......... .......... 74.5M,
2020-08-29T15:49:26.845549684Z  10000K .......... .......... .......... .......... .......... 10.7M,
2020-08-29T15:49:26.846206239Z  10050K .......... .......... .......... .......... .......... 73.7M,
2020-08-29T15:49:26.848549297Z  10100K .......... .......... .......... .......... .......... 20.9M,
2020-08-29T15:49:26.853773217Z  10150K .......... .......... .......... .......... .......... 9.35M,
2020-08-29T15:49:26.854930127Z  10200K .......... .......... .......... .......... .......... 42.3M,
2020-08-29T15:49:26.866804348Z  10250K .......... .......... .......... .......... .......... 4.13M,
2020-08-29T15:49:26.870487962Z  10300K .......... .......... .......... .......... .......... 13.1M,
2020-08-29T15:49:26.872214595Z  10350K .......... .......... .......... .......... .......... 28.5M,
2020-08-29T15:49:26.874002192Z  10400K .......... .......... .......... .......... .......... 27.2M,
2020-08-29T15:49:26.875703547Z  10450K .......... .......... .......... .......... .......... 28.5M,
2020-08-29T15:49:26.877458932Z  10500K .......... .......... .......... .......... .......... 27.9M,
2020-08-29T15:49:26.879122152Z  10550K .......... .......... .......... .......... .......... 29.2M,
2020-08-29T15:49:26.880822912Z  10600K .......... .......... .......... .......... .......... 28.7M,
2020-08-29T15:49:26.883405249Z  10650K .......... .......... .......... .......... .......... 19.0M,
2020-08-29T15:49:26.894516823Z  10700K .......... .......... .......... .......... .......... 4.39M,
2020-08-29T15:49:26.895139397Z  10750K .......... .......... .......... .......... .......... 80.7M,
2020-08-29T15:49:26.904818910Z  10800K .......... .......... .......... .......... .......... 5.05M,
2020-08-29T15:49:26.911411830Z  10850K .......... .......... .......... .......... .......... 7.40M,
2020-08-29T15:49:26.931323281Z  10900K .......... .......... .......... .......... .......... 2.47M,
2020-08-29T15:49:26.932054619Z  10950K .......... .......... .......... .......... .......... 60.6M,
2020-08-29T15:49:26.939122220Z  11000K .......... .......... .......... .......... .......... 6.86M,
2020-08-29T15:49:26.940448374Z  11050K .......... .......... .......... .......... .......... 36.9M,
2020-08-29T15:49:26.957990424Z  11100K .......... .......... .......... .......... .......... 2.78M,
2020-08-29T15:49:26.959619520Z  11150K .......... .......... .......... .......... .......... 29.8M,
2020-08-29T15:49:26.964780078Z  11200K .......... .......... .......... .......... .......... 9.46M,
2020-08-29T15:49:26.973568170Z  11250K .......... .......... .......... .......... .......... 5.56M,
2020-08-29T15:49:26.994656284Z  11300K .......... .......... .......... .......... .......... 2.32M,
2020-08-29T15:49:26.996253978Z  11350K .......... .......... .......... .......... .......... 30.5M,
2020-08-29T15:49:26.996707127Z  11400K .......... .......... .......... ..........            84.8M=1.1s,
2020-08-29T15:49:26.996715296Z ,
2020-08-29T15:49:26.996733155Z Last-modified header missing -- time-stamps turned off.,
2020-08-29T15:49:26.996736213Z 2020-08-29 17:49:26 (10.3 MB/s) - 'v4.3.0.tar.gz' saved [11715100],
2020-08-29T15:49:26.996738242Z ,
2020-08-29T15:49:27.202927124Z /,
2020-08-29T15:49:27.203275083Z cp: can't create '/dsmr/dsmrreader/settings.py': File exists,
2020-08-29T15:49:28.271387111Z Collecting coreapi==2.3.3,
2020-08-29T15:49:28.355957103Z   Downloading coreapi-2.3.3-py2.py3-none-any.whl (25 kB),
2020-08-29T15:49:28.415444180Z Collecting crcmod==1.7,
2020-08-29T15:49:28.428655999Z   Downloading crcmod-1.7.tar.gz (89 kB),
2020-08-29T15:49:28.897289469Z Collecting django==3.1,
2020-08-29T15:49:28.909354329Z   Downloading Django-3.1-py3-none-any.whl (7.8 MB),
2020-08-29T15:49:29.279481469Z Collecting django-admin-rangefilter==0.6.2,
2020-08-29T15:49:29.290849992Z   Downloading django_admin_rangefilter-0.6.2-py2.py3-none-any.whl (33 kB),
2020-08-29T15:49:29.329871700Z Collecting django-admin-sortable==2.2.3,
2020-08-29T15:49:29.342613858Z   Downloading django-admin-sortable-2.2.3.tar.gz (106 kB),
2020-08-29T15:49:29.552627496Z Collecting django-colorfield==0.3.2,
2020-08-29T15:49:29.576228096Z   Downloading django-colorfield-0.3.2.tar.gz (28 kB),
2020-08-29T15:49:29.789931564Z Collecting django-debug-toolbar==2.2,
2020-08-29T15:49:29.801678224Z   Downloading django_debug_toolbar-2.2-py3-none-any.whl (198 kB),
2020-08-29T15:49:29.843038193Z Collecting django-filter==2.3.0,
2020-08-29T15:49:29.858243039Z   Downloading django_filter-2.3.0-py3-none-any.whl (73 kB),
2020-08-29T15:49:29.931430828Z Collecting djangorestframework==3.11.1,
2020-08-29T15:49:29.952510126Z   Downloading djangorestframework-3.11.1-py3-none-any.whl (911 kB),
2020-08-29T15:49:30.007261903Z Collecting django-solo==1.1.3,
2020-08-29T15:49:30.024367460Z   Downloading django-solo-1.1.3.tar.gz (8.9 kB),
2020-08-29T15:49:30.258753511Z Collecting dropbox==10.3.1,
2020-08-29T15:49:30.275235940Z   Downloading dropbox-10.3.1-py3-none-any.whl (668 kB),
2020-08-29T15:49:30.374194552Z Collecting gunicorn==20.0.4,
2020-08-29T15:49:30.387144392Z   Downloading gunicorn-20.0.4-py2.py3-none-any.whl (77 kB),
2020-08-29T15:49:30.435297454Z Collecting influxdb==5.3.0,
2020-08-29T15:49:30.447105538Z   Downloading influxdb-5.3.0-py2.py3-none-any.whl (77 kB),
2020-08-29T15:49:30.479464262Z Collecting paho-mqtt==1.5.0,
2020-08-29T15:49:30.492612550Z   Downloading paho-mqtt-1.5.0.tar.gz (99 kB),
2020-08-29T15:49:30.702152106Z Collecting pyserial==3.4,
2020-08-29T15:49:30.716238184Z   Downloading pyserial-3.4-py2.py3-none-any.whl (193 kB),
2020-08-29T15:49:30.743541414Z Collecting pyserial-asyncio==0.4,
2020-08-29T15:49:30.757628295Z   Downloading pyserial_asyncio-0.4-py3-none-any.whl (7.1 kB),
2020-08-29T15:49:30.793305396Z Collecting python-dateutil==2.8.1,
2020-08-29T15:49:30.804375289Z   Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB),
2020-08-29T15:49:30.836658912Z Collecting python-decouple==3.3,
2020-08-29T15:49:30.849968777Z   Downloading python-decouple-3.3.tar.gz (10 kB),
2020-08-29T15:49:31.151387461Z Collecting pytz==2020.1,
2020-08-29T15:49:31.162967339Z   Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB),
2020-08-29T15:49:31.260113367Z Collecting requests==2.24.0,
2020-08-29T15:49:31.273146677Z   Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB),
2020-08-29T15:49:31.332930826Z Collecting urllib3==1.25.10,
2020-08-29T15:49:31.344009638Z   Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB),
2020-08-29T15:49:31.380613533Z Collecting uritemplate,
2020-08-29T15:49:31.397141869Z   Downloading uritemplate-3.0.1-py2.py3-none-any.whl (15 kB),
2020-08-29T15:49:31.418317226Z Collecting itypes,
2020-08-29T15:49:31.432451384Z   Downloading itypes-1.2.0-py2.py3-none-any.whl (4.8 kB),
2020-08-29T15:49:31.451786991Z Collecting coreschema,
2020-08-29T15:49:31.476703665Z   Downloading coreschema-0.0.4.tar.gz (10 kB),
2020-08-29T15:49:31.700939097Z Collecting asgiref~=3.2.10,
2020-08-29T15:49:31.714377677Z   Downloading asgiref-3.2.10-py3-none-any.whl (19 kB),
2020-08-29T15:49:31.745723149Z Collecting sqlparse>=0.2.2,
2020-08-29T15:49:31.757830102Z   Downloading sqlparse-0.3.1-py2.py3-none-any.whl (40 kB),
2020-08-29T15:49:31.795172185Z Collecting six>=1.12.0,
2020-08-29T15:49:31.806783585Z   Downloading six-1.15.0-py2.py3-none-any.whl (10 kB),
2020-08-29T15:49:31.810438809Z Requirement already satisfied: setuptools>=3.0 in /usr/local/lib/python3.8/site-packages (from gunicorn==20.0.4->-r /dsmr/dsmrreader/provisioning/requirements/base.txt (line 12)) (49.3.1),
2020-08-29T15:49:31.881988312Z Collecting msgpack==0.6.1,
2020-08-29T15:49:31.895847881Z   Downloading msgpack-0.6.1.tar.gz (118 kB),
2020-08-29T15:49:32.097040757Z Collecting chardet<4,>=3.0.2,
2020-08-29T15:49:32.108775568Z   Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB),
2020-08-29T15:49:32.143088685Z Collecting idna<3,>=2.5,
2020-08-29T15:49:32.155201537Z   Downloading idna-2.10-py2.py3-none-any.whl (58 kB),
2020-08-29T15:49:32.200950952Z Collecting certifi>=2017.4.17,
2020-08-29T15:49:32.213609210Z   Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB),
2020-08-29T15:49:32.257486054Z Collecting jinja2,
2020-08-29T15:49:32.269380133Z   Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB),
2020-08-29T15:49:32.322588821Z Collecting MarkupSafe>=0.23,
2020-08-29T15:49:32.335299213Z   Downloading MarkupSafe-1.1.1.tar.gz (19 kB),
2020-08-29T15:49:32.506159072Z Building wheels for collected packages: crcmod, django-admin-sortable, django-colorfield, django-solo, paho-mqtt, python-decouple, coreschema, msgpack, MarkupSafe,
2020-08-29T15:49:32.506574728Z   Building wheel for crcmod (setup.py): started,
2020-08-29T15:49:32.903954001Z   Building wheel for crcmod (setup.py): finished with status 'done',
2020-08-29T15:49:32.904337389Z   Created wheel for crcmod: filename=crcmod-1.7-cp38-cp38-linux_x86_64.whl size=22666 sha256=d93e2395e40df77f6cb81fb41cb9420b931a2aa9dbdc4d9f1961ad2cb303fc96,
2020-08-29T15:49:32.904386854Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/ca/5a/02/f3acf982a026f3319fb3e798a8dca2d48fafee7761788562e9,
2020-08-29T15:49:32.905256539Z   Building wheel for django-admin-sortable (setup.py): started,
2020-08-29T15:49:33.134770853Z   Building wheel for django-admin-sortable (setup.py): finished with status 'done',
2020-08-29T15:49:33.135385716Z   Created wheel for django-admin-sortable: filename=django_admin_sortable-2.2.3-py3-none-any.whl size=115438 sha256=fc7e883d81562f350eb68190016effa78dab2b0650e8bb0acb3368c3a2b272d6,
2020-08-29T15:49:33.135464572Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/77/8d/68/680f79ce44dc487fd24d2ab3d5bc306c36f5a29cb748024648,
2020-08-29T15:49:33.136166347Z   Building wheel for django-colorfield (setup.py): started,
2020-08-29T15:49:33.337835413Z   Building wheel for django-colorfield (setup.py): finished with status 'done',
2020-08-29T15:49:33.338244554Z   Created wheel for django-colorfield: filename=django_colorfield-0.3.2-py3-none-any.whl size=30407 sha256=74699f1fa9d1a12b971c1a9f2b03c2cfcb2a41cc4dcc150feafc5f4701e6c02c,
2020-08-29T15:49:33.338269050Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/72/75/40/980a0474662ad3837ffcf0f67cd2e7bb77c8ccbdb6bacf43d8,
2020-08-29T15:49:33.339116235Z   Building wheel for django-solo (setup.py): started,
2020-08-29T15:49:33.536519932Z   Building wheel for django-solo (setup.py): finished with status 'done',
2020-08-29T15:49:33.536813221Z   Created wheel for django-solo: filename=django_solo-1.1.3-py3-none-any.whl size=10824 sha256=a2767d01a9933fa02f81419b5927bb0292a4469a0b0e13994822c15d09e5dd67,
2020-08-29T15:49:33.536818223Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/29/2d/9a/41b95119baaa57197ee0b4da9c169599476877c481d889f923,
2020-08-29T15:49:33.537614166Z   Building wheel for paho-mqtt (setup.py): started,
2020-08-29T15:49:33.747808776Z   Building wheel for paho-mqtt (setup.py): finished with status 'done',
2020-08-29T15:49:33.748272044Z   Created wheel for paho-mqtt: filename=paho_mqtt-1.5.0-py3-none-any.whl size=61415 sha256=214905d44d1ceed9cc9e40eb7fa92d13251ed549375438c859cfa5c270383280,
2020-08-29T15:49:33.748280326Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/c6/63/e1/6e3a42c72eb48428f83a5718662fc2273b0ffe7f644085cc4e,
2020-08-29T15:49:33.749048649Z   Building wheel for python-decouple (setup.py): started,
2020-08-29T15:49:33.943290747Z   Building wheel for python-decouple (setup.py): finished with status 'done',
2020-08-29T15:49:33.943635359Z   Created wheel for python-decouple: filename=python_decouple-3.3-py3-none-any.whl size=9024 sha256=b1cc953039ce470e1402f1f7c9ab6a301beefc987113b65a8f3b7a105125d886,
2020-08-29T15:49:33.943684798Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/89/05/0c/780f3533d4fd7f9abdaafb2acdabdfe5542efb9fd15456030a,
2020-08-29T15:49:33.944406923Z   Building wheel for coreschema (setup.py): started,
2020-08-29T15:49:34.143524746Z   Building wheel for coreschema (setup.py): finished with status 'done',
2020-08-29T15:49:34.143885279Z   Created wheel for coreschema: filename=coreschema-0.0.4-py3-none-any.whl size=15031 sha256=3dca83963c04b2822bc1213a114502aef88ca0afc98d6552a3f4ec3123a3d74c,
2020-08-29T15:49:34.143896220Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/37/21/45/2ce3dd0189e3d2fb7a325b9d3e6491acb7882c8275466d5401,
2020-08-29T15:49:34.144651305Z   Building wheel for msgpack (setup.py): started,
2020-08-29T15:49:34.341448796Z   Building wheel for msgpack (setup.py): finished with status 'done',
2020-08-29T15:49:34.341767418Z   Created wheel for msgpack: filename=msgpack-0.6.1-cp38-cp38-linux_x86_64.whl size=14580 sha256=51ebb8076ffae9be88232530f6f9583839970181f2e1cc636935b14931ebb851,
2020-08-29T15:49:34.341830781Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/56/2e/45/9ae160fc31c10e4b799d0ebc32ba82b32f1b057e0ebf28ea82,
2020-08-29T15:49:34.342622857Z   Building wheel for MarkupSafe (setup.py): started,
2020-08-29T15:49:34.699105324Z   Building wheel for MarkupSafe (setup.py): finished with status 'done',
2020-08-29T15:49:34.699468388Z   Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-cp38-cp38-linux_x86_64.whl size=16945 sha256=22aaf7504bba798deb2f7d12a53d92e246fcad4449e0f21cebec51208b40acd8,
2020-08-29T15:49:34.699507245Z   Stored in directory: /tmp/pip-ephem-wheel-cache-s8u8ci2b/wheels/0c/61/d6/4db4f4c28254856e82305fdb1f752ed7f8482e54c384d8cb0e,
2020-08-29T15:49:34.699938696Z Successfully built crcmod django-admin-sortable django-colorfield django-solo paho-mqtt python-decouple coreschema msgpack MarkupSafe,
2020-08-29T15:49:34.815288268Z Installing collected packages: uritemplate, chardet, idna, urllib3, certifi, requests, itypes, MarkupSafe, jinja2, coreschema, coreapi, crcmod, asgiref, sqlparse, pytz, django, django-admin-rangefilter, django-admin-sortable, django-colorfield, django-debug-toolbar, django-filter, djangorestframework, django-solo, six, dropbox, gunicorn, msgpack, python-dateutil, influxdb, paho-mqtt, pyserial, pyserial-asyncio, python-decouple,
2020-08-29T15:49:37.954382740Z Successfully installed MarkupSafe-1.1.1 asgiref-3.2.10 certifi-2020.6.20 chardet-3.0.4 coreapi-2.3.3 coreschema-0.0.4 crcmod-1.7 django-3.1 django-admin-rangefilter-0.6.2 django-admin-sortable-2.2.3 django-colorfield-0.3.2 django-debug-toolbar-2.2 django-filter-2.3.0 django-solo-1.1.3 djangorestframework-3.11.1 dropbox-10.3.1 gunicorn-20.0.4 idna-2.10 influxdb-5.3.0 itypes-1.2.0 jinja2-2.11.2 msgpack-0.6.1 paho-mqtt-1.5.0 pyserial-3.4 pyserial-asyncio-0.4 python-dateutil-2.8.1 python-decouple-3.3 pytz-2020.1 requests-2.24.0 six-1.15.0 sqlparse-0.3.1 uritemplate-3.0.1 urllib3-1.25.10,
2020-08-29T15:49:38.533987260Z Collecting psycopg2,
2020-08-29T15:49:38.612407957Z   Downloading psycopg2-2.8.5.tar.gz (380 kB),
2020-08-29T15:49:38.919653650Z Building wheels for collected packages: psycopg2,
2020-08-29T15:49:38.920080364Z   Building wheel for psycopg2 (setup.py): started,
2020-08-29T15:49:44.365894381Z   Building wheel for psycopg2 (setup.py): finished with status 'done',
2020-08-29T15:49:44.366576175Z   Created wheel for psycopg2: filename=psycopg2-2.8.5-cp38-cp38-linux_x86_64.whl size=145015 sha256=e0fc3aa6dfcf42a9d29283bc10658ffb167a8e8f576bea96c4d5b5d3467d9545,
2020-08-29T15:49:44.366613712Z   Stored in directory: /root/.cache/pip/wheels/35/64/21/9c9e2c1bb9cd6bca3c1b97b955615e37fd309f8e8b0b9fdf1a,
2020-08-29T15:49:44.367005221Z Successfully built psycopg2,
2020-08-29T15:49:44.440727175Z Installing collected packages: psycopg2,
2020-08-29T15:49:44.472980072Z Successfully installed psycopg2-2.8.5,
2020-08-29T15:49:44.659237940Z 
[ INFO ] Verifying if Postgres in running...,
2020-08-29T15:49:44.661962412Z 
[ INFO ] Running post configuration...,
2020-08-29T15:49:44.786271885Z Traceback (most recent call last):,
2020-08-29T15:49:44.786286352Z   File "/dsmr/manage.py", line 10, in <module>,
2020-08-29T15:49:44.786288997Z     execute_from_command_line(sys.argv),
2020-08-29T15:49:44.786290771Z   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line,
2020-08-29T15:49:44.786292753Z     utility.execute(),
2020-08-29T15:49:44.786294449Z   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 345, in execute,
2020-08-29T15:49:44.786303322Z     settings.INSTALLED_APPS,
2020-08-29T15:49:44.786305324Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__,
2020-08-29T15:49:44.786307185Z     self._setup(name),
2020-08-29T15:49:44.786308867Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 70, in _setup,
2020-08-29T15:49:44.786310690Z     self._wrapped = Settings(settings_module),
2020-08-29T15:49:44.786312430Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 177, in __init__,
2020-08-29T15:49:44.786314216Z     mod = importlib.import_module(self.SETTINGS_MODULE),
2020-08-29T15:49:44.786315852Z   File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module,
2020-08-29T15:49:44.786317592Z     return _bootstrap._gcd_import(name[level:], package, level),
2020-08-29T15:49:44.786319367Z   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import,
2020-08-29T15:49:44.786321323Z   File "<frozen importlib._bootstrap>", line 991, in _find_and_load,
2020-08-29T15:49:44.786323173Z   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked,
2020-08-29T15:49:44.786324997Z   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked,
2020-08-29T15:49:44.786326736Z   File "<frozen importlib._bootstrap_external>", line 783, in exec_module,
2020-08-29T15:49:44.786328553Z   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed,
2020-08-29T15:49:44.786330330Z   File "/dsmr/dsmrreader/settings.py", line 35, in <module>,
2020-08-29T15:49:44.786332139Z     LOGGING['loggers']['commands']['level'] = os.environ.get('DSMRREADER_LOGLEVEL'),
2020-08-29T15:49:44.786334009Z KeyError: 'commands',
2020-08-29T15:49:44.868012557Z Traceback (most recent call last):,
2020-08-29T15:49:44.868029576Z   File "/dsmr/manage.py", line 10, in <module>,
2020-08-29T15:49:44.868032138Z     execute_from_command_line(sys.argv),
2020-08-29T15:49:44.868033911Z   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line,
2020-08-29T15:49:44.868035840Z     utility.execute(),
2020-08-29T15:49:44.868037607Z   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 345, in execute,
2020-08-29T15:49:44.868039382Z     settings.INSTALLED_APPS,
2020-08-29T15:49:44.868040979Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__,
2020-08-29T15:49:44.868042865Z     self._setup(name),
2020-08-29T15:49:44.868044617Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 70, in _setup,
2020-08-29T15:49:44.868046520Z     self._wrapped = Settings(settings_module),
2020-08-29T15:49:44.868048226Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 177, in __init__,
2020-08-29T15:49:44.868058093Z     mod = importlib.import_module(self.SETTINGS_MODULE),
2020-08-29T15:49:44.868060028Z   File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module,
2020-08-29T15:49:44.868061803Z     return _bootstrap._gcd_import(name[level:], package, level),
2020-08-29T15:49:44.868063509Z   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import,
2020-08-29T15:49:44.868065427Z   File "<frozen importlib._bootstrap>", line 991, in _find_and_load,
2020-08-29T15:49:44.868067335Z   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked,
2020-08-29T15:49:44.868069221Z   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked,
2020-08-29T15:49:44.868071065Z   File "<frozen importlib._bootstrap_external>", line 783, in exec_module,
2020-08-29T15:49:44.868072947Z   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed,
2020-08-29T15:49:44.868074765Z   File "/dsmr/dsmrreader/settings.py", line 35, in <module>,
2020-08-29T15:49:44.868076561Z     LOGGING['loggers']['commands']['level'] = os.environ.get('DSMRREADER_LOGLEVEL'),
2020-08-29T15:49:44.868078331Z KeyError: 'commands',
2020-08-29T15:49:44.948069523Z Traceback (most recent call last):,
2020-08-29T15:49:44.948087745Z   File "/dsmr/manage.py", line 10, in <module>,
2020-08-29T15:49:44.948090354Z     execute_from_command_line(sys.argv),
2020-08-29T15:49:44.948092132Z   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line,
2020-08-29T15:49:44.948094125Z     utility.execute(),
2020-08-29T15:49:44.948095840Z   File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 345, in execute,
2020-08-29T15:49:44.948097678Z     settings.INSTALLED_APPS,
2020-08-29T15:49:44.948099389Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__,
2020-08-29T15:49:44.948101244Z     self._setup(name),
2020-08-29T15:49:44.948102999Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 70, in _setup,
2020-08-29T15:49:44.948104851Z     self._wrapped = Settings(settings_module),
2020-08-29T15:49:44.948106597Z   File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 177, in __init__,
2020-08-29T15:49:44.948108438Z     mod = importlib.import_module(self.SETTINGS_MODULE),
2020-08-29T15:49:44.948110102Z   File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module,
2020-08-29T15:49:44.948111918Z     return _bootstrap._gcd_import(name[level:], package, level),
2020-08-29T15:49:44.948113658Z   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import,
2020-08-29T15:49:44.948115628Z   File "<frozen importlib._bootstrap>", line 991, in _find_and_load,
2020-08-29T15:49:44.948126289Z   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked,
2020-08-29T15:49:44.948129667Z   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked,
2020-08-29T15:49:44.948132743Z   File "<frozen importlib._bootstrap_external>", line 783, in exec_module,
2020-08-29T15:49:44.948134736Z   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed,
2020-08-29T15:49:44.948136528Z   File "/dsmr/dsmrreader/settings.py", line 35, in <module>,
2020-08-29T15:49:44.948138561Z     LOGGING['loggers']['commands']['level'] = os.environ.get('DSMRREADER_LOGLEVEL'),
2020-08-29T15:49:44.948140327Z KeyError: 'commands',
2020-08-29T15:49:44.956660022Z 
[ INFO ] Checking for HTTP AUTHENTICATION configuration...,
2020-08-29T15:49:44.956676066Z 
[ INFO ] ENABLE_HTTP_AUTH is disabled, nothing to see here.,
2020-08-29T15:49:44.956678398Z 
[ INFO ] Starting supervisord...,
2020-08-29T15:49:44.956693146Z 
[ INFO ] Logfiles can be found at: /var/log/supervisor/*.log and /tmp/supervisord.log,
2020-08-29T15:49:45.085188395Z 2020-08-29 17:49:45,085 INFO Included extra file "/etc/supervisor.d/supervisord.ini" during parsing,
2020-08-29T15:49:45.085202348Z 2020-08-29 17:49:45,085 INFO Set uid to user 0 succeeded,
2020-08-29T15:49:45.087990008Z 2020-08-29 17:49:45,087 INFO RPC interface 'supervisor' initialized,
2020-08-29T15:49:45.088007013Z 2020-08-29 17:49:45,087 CRIT Server 'unix_http_server' running without any HTTP authentication checking,
2020-08-29T15:49:45.088169232Z 2020-08-29 17:49:45,088 INFO supervisord started with pid 212,
2020-08-29T15:49:46.091540463Z 2020-08-29 17:49:46,091 INFO spawned: 'dsmr_backend' with pid 214,
2020-08-29T15:49:46.094092822Z 2020-08-29 17:49:46,093 INFO spawned: 'dsmr_webinterface' with pid 215,
2020-08-29T15:49:46.096508931Z 2020-08-29 17:49:46,096 INFO spawned: 'nginx' with pid 216,
2020-08-29T15:49:46.185182436Z 2020-08-29 17:49:46,185 INFO exited: dsmr_backend (exit status 1; not expected),
2020-08-29T15:49:46.391035570Z 2020-08-29 17:49:46,390 INFO exited: dsmr_webinterface (exit status 3; not expected),
2020-08-29T15:49:47.396177789Z 2020-08-29 17:49:47,395 INFO spawned: 'dsmr_backend' with pid 231,
2020-08-29T15:49:47.400782065Z 2020-08-29 17:49:47,400 INFO spawned: 'dsmr_webinterface' with pid 232,
2020-08-29T15:49:47.401502812Z 2020-08-29 17:49:47,401 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs),
2020-08-29T15:49:47.517253073Z 2020-08-29 17:49:47,517 INFO exited: dsmr_backend (exit status 1; not expected),
2020-08-29T15:49:47.698651394Z 2020-08-29 17:49:47,698 INFO exited: dsmr_webinterface (exit status 3; not expected),
2020-08-29T15:49:49.705926397Z 2020-08-29 17:49:49,705 INFO spawned: 'dsmr_backend' with pid 235,
2020-08-29T15:49:49.708201575Z 2020-08-29 17:49:49,707 INFO spawned: 'dsmr_webinterface' with pid 236,
2020-08-29T15:49:49.804573868Z 2020-08-29 17:49:49,804 INFO exited: dsmr_backend (exit status 1; not expected),
2020-08-29T15:49:49.986003017Z 2020-08-29 17:49:49,985 INFO exited: dsmr_webinterface (exit status 3; not expected),
xirixiz commented 4 years ago

You're probably using an outdated Docker image. Which images are you using? Please check out the valid latest tags on the Docker hub

svh1985 commented 4 years ago

Hi Bram,

Thank you for your quick response!

I'm using docker-compose which (I assume) always gets the latest version when Pull and Up the container.

I have a second device that runs a datalogger that feeds the DSMR.

This is the DSMR portion of my composer file:

################################ DSMR Reader
  dsmr:
    image: xirixiz/dsmr-reader-docker
    container_name: dsmr
    depends_on:
      - dsmrdb
    cap_add:
      - NET_ADMIN
    links:
      - dsmrdb
    restart: unless-stopped
    labels: 
      com.centurylinklabs.watchtower.enable: "true"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${CONFIGDIR}/dsmr/backups:/dsmr/backups:rw
      - ${CONFIGDIR}/dsmr/settings.py:/dsmr/dsmrreader/settings.py:rw
    environment:
      TZ: ${TIMEZONE}
      PGID: ${PGID}
      PUID: ${PUID}
      VIRTUAL_HOST: localhost
      SD_AUTOSTART_MQTT: "true"
      SD_AUTORESTART_MQTT: "true"
      SD_AUTOSTART_DATALOGGER: "false"
      SD_AUTORESTART_DATALOGGER: "false"
      DSMR_USER: ${DSMR_USER}
      DSMR_EMAIL: ${DSMR_EMAIL}
      DSMR_PASSWORD: ${PASSWORD}
      DB_NAME: ${DSMR_DB_NAME}
      DB_USER: ${DSMR_DB_USER}
      DB_PASS: ${DSMR_DB_PASS}
      DB_HOST: ${DSMR_DB_HOST}
      DB_PORT: ${DSMR_DB_PORT}
      DSMRREADER_LOGLEVEL: INFO # Valid values are WARNING, INFO, DEBUG
    ports:
      - 7777:80
      - 7779:443
    #devices:
      #- /dev/ttyUSB0:/dev/ttyUSB0

################################ DSMR Database
  dsmrdb:
    image: postgres:10.5-alpine
    container_name: dsmrdb
    restart: unless-stopped
    labels: 
      com.centurylinklabs.watchtower.enable: "true"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${CONFIGDIR}/dsmr/db:/var/lib/postgresql/data:rw
    user: ${PGID}:${PUID}
    environment:
      TZ: ${TIMEZONE}
      PG_TZ: ${TIMEZONE}
      POSTGRES_DB: ${DSMR_DB_NAME}
      POSTGRES_USER: ${DSMR_DB_USER}
      POSTGRES_PASSWORD: ${DSMR_DB_PASS}
xirixiz commented 4 years ago

Kan je de regel DSMRREADER_LOGLEVEL: INFO # Valid values are WARNING, INFO, DEBUG eens verwijderen uit je docker-compose file?

svh1985 commented 4 years ago

Yes, dat was de oplossing! Thanks!