Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install with docker on Ubuntu 20 #6

Open
Ch4ttY opened this issue Oct 7, 2021 · 1 comment
Open

Can't install with docker on Ubuntu 20 #6

Ch4ttY opened this issue Oct 7, 2021 · 1 comment

Comments

@Ch4ttY
Copy link

Ch4ttY commented Oct 7, 2021

Hey, I got an issue with MongoDB installing on Ubuntu 20.
"mongodb 5.0+ requires a cpu with avx support"

Not many VPS support that.

bot_service_1 | 2021-10-07 22:52:11,195 - apscheduler.scheduler - INFO - Scheduler started
bot_service_1 | 2021-10-07 22:52:45,448 - telegram.ext.dispatcher - ERROR - No error handlers are registe red, logging exception.
bot_service_1 | Traceback (most recent call last):
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/dispatcher.py", line 555, in process_update
bot_service_1 | handler.handle_update(update, self, check, context)
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/conversationhandler.py", line 626, in handle_update
bot_service_1 | new_state = handler.handle_update(update, dispatcher, check_result, context)
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/handler.py", line 198, in han dle_update
bot_service_1 | return self.callback(update, context)
bot_service_1 | File "bot.py", line 187, in checkCaptcha
bot_service_1 | if CAPTCHA_DATA[user.id] != text:
bot_service_1 | KeyError: 65219073
bot_service_1 | bot.py:476: DeprecationWarning: count is deprecated. Use Collection.count_documents inste ad.
bot_service_1 | refes = users.find({"ref": {"$ne": False}}).count()
bot_service_1 | bot.py:482: DeprecationWarning: count is deprecated. Use Collection.count_documents inste ad.
bot_service_1 | """
bot_service_1 | 2021-10-07 22:52:57,239 - telegram.ext.dispatcher - ERROR - No error handlers are registe red, logging exception.
bot_service_1 | Traceback (most recent call last):
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/dispatcher.py", line 555, in process_update
bot_service_1 | handler.handle_update(update, self, check, context)
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/handler.py", line 198, in han dle_update
bot_service_1 | return self.callback(update, context)
bot_service_1 | File "bot.py", line 456, in getList
bot_service_1 | user = update.message.from_user
bot_service_1 | AttributeError: 'NoneType' object has no attribute 'from_user'
bot_service_1 | 2021-10-07 22:53:22,118 - telegram.ext.dispatcher - ERROR - No error handlers are registe red, logging exception.
bot_service_1 | Traceback (most recent call last):
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/dispatcher.py", line 555, in process_update
bot_service_1 | handler.handle_update(update, self, check, context)
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/conversationhandler.py", line 626, in handle_update
bot_service_1 | new_state = handler.handle_update(update, dispatcher, check_result, context)
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/handler.py", line 198, in han dle_update
bot_service_1 | return self.callback(update, context)
bot_service_1 | File "bot.py", line 187, in checkCaptcha
bot_service_1 | if CAPTCHA_DATA[user.id] != text:
bot_service_1 | KeyError: 65219073
bot_service_1 | 2021-10-07 22:53:40,720 - telegram.ext.dispatcher - ERROR - No error handlers are registe red, logging exception.
bot_service_1 | Traceback (most recent call last):
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/dispatcher.py", line 555, in process_update
bot_service_1 | handler.handle_update(update, self, check, context)
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/conversationhandler.py", line 626, in handle_update
bot_service_1 | new_state = handler.handle_update(update, dispatcher, check_result, context)
bot_service_1 | File "/usr/local/lib/python3.7/site-packages/telegram/ext/handler.py", line 198, in han dle_update
bot_service_1 | return self.callback(update, context)
bot_service_1 | File "bot.py", line 187, in checkCaptcha
bot_service_1 | if CAPTCHA_DATA[user.id] != text:
bot_service_1 | KeyError: 65219073
mongodb_1 |
mongodb_1 | WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
mongodb_1 | see https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
mongodb_1 | see also docker-library/mongo#485 (comment)
mongodb_1 |
mongodb_1 | {"t":{"$date":"2021-10-07T22:52:09.663+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
mongodb_1 | {"t":{"$date":"2021-10-07T22:52:09.671+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
mongodb_1 | {"t":{"$date":"2021-10-07T22:52:09.671+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
mongodb_1 | {"t":{"$date":"2021-10-07T22:52:09.672+00:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"4b3c32ff0e8c"}}
mongodb_1 | {"t":{"$date":"2021-10-07T22:52:09.672+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.8","gitVersion":"83b8bb8b6b325d8d8d3dfd2ad9f744bdad7d6ca0","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}}
mongodb_1 | {"t":{"$date":"2021-10-07T22:52:09.672+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}}
mongodb_1 | {"t":{"$date":"2021-10-07T22:52:09.672+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command

@trizin
Copy link
Owner

trizin commented Oct 9, 2021

Try to change the MongoDB version. You can take a look at the other versions on docker hub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants