# Cert-viewer$ sudo docker-compose up

**URL:** <https://community.blockcerts.org/t/cert-viewer-sudo-docker-compose-up/2407>\
**Category:** Uncategorized\
**Created:** [March 14, 2020, 10:15am UTC](https://community.blockcerts.org/t/cert-viewer-sudo-docker-compose-up/2407 "2020-03-14T10:15:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TUX](https://avatars.discourse-cdn.com/v4/letter/t/f4b2a3/32.png) [@TUX](https://community.blockcerts.org/u/TUX)\
**Post date:** [March 14, 2020, 10:15am UTC](https://community.blockcerts.org/t/cert-viewer-sudo-docker-compose-up/2407/1 "2020-03-14T10:15:04Z")

</div>

When I run sudo docker-compose up on the console I get the following:

Starting cert-viewer\_mongodb\_1 … done  
Recreating cert-viewer\_web\_1 … done  
Attaching to cert-viewer\_mongodb\_1, cert-viewer\_web\_1  
mongodb\_1 | 2020-03-14T09:56:51.749+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ‘none’  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=928d8bd0c7db  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] db version v4.0.6  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] git version: caa42a1f75a56c7643d0b68d3880444375ec42e3  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1b 26 Feb 2019  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] allocator: system  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] modules: none  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] build environment:  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] distarch: x86\_64  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] target\_arch: x86\_64  
mongodb\_1 | 2020-03-14T09:56:51.758+0000 I CONTROL [initandlisten] options: { net: { bindIp: “0.0.0.0” } }  
mongodb\_1 | 2020-03-14T09:56:51.759+0000 I STORAGE [initandlisten] Detected data files in /data/db created by the ‘wiredTiger’ storage engine, so setting the active storage engine to ‘wiredTiger’.  
mongodb\_1 | 2020-03-14T09:56:51.759+0000 I STORAGE [initandlisten]  
mongodb\_1 | 2020-03-14T09:56:51.759+0000 I STORAGE [initandlisten] \*\* WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine  
mongodb\_1 | 2020-03-14T09:56:51.759+0000 I STORAGE [initandlisten] \*\* See [http://dochub.mongodb.org/core/prodnotes-filesystem](http://dochub.mongodb.org/core/prodnotes-filesystem)  
mongodb\_1 | 2020-03-14T09:56:51.759+0000 I STORAGE [initandlisten] wiredtiger\_open config: create,cache\_size=5238M,session\_max=20000,eviction=(threads\_min=4,threads\_max=4),config\_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file\_manager=(close\_idle\_time=100000),statistics\_log=(wait=0),verbose=(recovery\_progress),  
mongodb\_1 | 2020-03-14T09:56:53.879+0000 I STORAGE [initandlisten] WiredTiger message [1584179813:879158][1:0x7fa25fb52e68], txn-recover: Main recovery loop: starting at 10/6272 to 11/256  
mongodb\_1 | 2020-03-14T09:56:54.461+0000 I STORAGE [initandlisten] WiredTiger message [1584179814:461307][1:0x7fa25fb52e68], txn-recover: Recovering log 10 through 11  
mongodb\_1 | 2020-03-14T09:56:54.960+0000 I STORAGE [initandlisten] WiredTiger message [1584179814:960623][1:0x7fa25fb52e68], txn-recover: Recovering log 11 through 11  
mongodb\_1 | 2020-03-14T09:56:55.296+0000 I STORAGE [initandlisten] WiredTiger message [1584179815:296631][1:0x7fa25fb52e68], txn-recover: Set global recovery timestamp: 0  
mongodb\_1 | 2020-03-14T09:56:55.942+0000 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)  
mongodb\_1 | 2020-03-14T09:56:56.257+0000 I CONTROL [initandlisten]  
mongodb\_1 | 2020-03-14T09:56:56.257+0000 I CONTROL [initandlisten] \*\* WARNING: Access control is not enabled for the database.  
mongodb\_1 | 2020-03-14T09:56:56.257+0000 I CONTROL [initandlisten] \*\* Read and write access to data and configuration is unrestricted.  
mongodb\_1 | 2020-03-14T09:56:56.257+0000 I CONTROL [initandlisten]  
mongodb\_1 | 2020-03-14T09:56:56.304+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory ‘/data/db/diagnostic.data’  
mongodb\_1 | 2020-03-14T09:56:56.306+0000 I NETWORK [initandlisten] waiting for connections on port 27017  
web\_1 | Traceback (most recent call last):  
web\_1 | File “/cert-viewer/run.py”, line 4, in   
web\_1 | from cert\_viewer import configure\_app  
web\_1 | File “/cert-viewer/cert\_viewer/ **init**.py”, line 6, in   
web\_1 | from flask\_themes2 import (Themes)  
web\_1 | **File “/usr/local/lib/python3.8/site-packages/flask\_themes2/init.py”, line 36, in**   
web\_1 | from werkzeug import cached\_property  
web\_1 | ImportError: cannot import name ‘cached\_property’ from ‘werkzeug’ (/usr/local/lib/python3.8/site-packages/werkzeug/ **init**.py)  
cert-viewer\_web\_1 exited with code 1

This line is what catches my attention: File “/usr/local/lib/python3.8/site-packages/flask\_themes2/ **init**.py”, line 36, in

Since I have installed python 3.6 not 3.8. Some help???
