-
Notifications
You must be signed in to change notification settings - Fork 987
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
Error while "make nb" #1831
Comments
Lines 56 to 57 in 1f74f1a
|
I have a very similar problem and I tried on Debian 12 LXC, Debian 12 VM on proxmox and even on Ubuntu 22.04 LXC and in all scenarios I ended up with the following traces: [+] Running 12/12 ---> Starting NewsBlur development server... ^C root@nblur:/srv/newsblur# sudo make nb The mongoDB container seems to keep restarting:
Then the logs for the mongoDB container does not show anything obvious enough: Any idea? |
I'm having the same issue |
So the problem was the permissions on the |
This is still an issue, and I (suppose) is being tracked here: #1792 (comment) |
I tried to install newsblur on a fresh debian (LXC in proxmox). While installing with the bash-script for outside-Domains wasn't successfull I tried to install the clean system without any customization.
But this also failed unfortunately.
After copying the first run of "make nb" ended with some issue after creating certificates:
sudo: /usr/bin/security: command not found make[1]: *** [Makefile:86: keys] Error 1 make[1]: Leaving directory '/root/NewsBlur' make: *** [Makefile:21: bounce] Error 2
I reentered the
make nb
. Therefore most of the created containers started as expected. Just the proxy-container had some issue.! imageproxy The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
Do I really have to switch to arm-architecture? This didn't terminate the process.
After running migrations and the output of
Applying recommendations.0001_initial... OK
I got this error massage:
Applying rss_feeds.0002_remove_mongo_types...Traceback (most recent call last): File "/srv/newsblur/./manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute output = self.handle(*args, **options) File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 85, in wrapped res = handle_func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 243, in handle post_migrate_state = executor.migrate( File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 117, in migrate state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial) File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial) File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 227, in apply_migration state = migration.apply(state, schema_editor) File "/usr/local/lib/python3.9/site-packages/django/db/migrations/migration.py", line 124, in apply operation.database_forwards(self.app_label, schema_editor, old_state, project_state) File "/usr/local/lib/python3.9/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards self.code(from_state.apps, schema_editor) File "/srv/newsblur/apps/rss_feeds/migrations/0002_remove_mongo_types.py", line 8, in remove_mongo_types collections = db.collection_names() File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 1005, in collection_names for result in self.list_collections(session=session, nameOnly=True, **kws) File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 943, in list_collections return self.__client._retryable_read(_cmd, read_pref, session) File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1606, in _retryable_read server = self._select_server(read_pref, session, address=address) File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1436, in _select_server server = topology.select_server(server_selector) File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 250, in select_server return random.choice(self.select_servers(selector, server_selection_timeout, address)) File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 211, in select_servers server_descriptions = self._select_servers_loop(selector, server_timeout, address) File "/usr/local/lib/python3.9/site-packages/pymongo/topology.py", line 226, in _select_servers_loop raise ServerSelectionTimeoutError( pymongo.errors.ServerSelectionTimeoutError: db_mongo:29019: [Errno -2] Name or service not known, Timeout: 30s, Topology Description: <TopologyDescription id: 6542adb146627c1e29b4da3a, topology_type: Single, servers: [<ServerDescription ('db_mongo', 29019) server_type: Unknown, rtt: None, error=AutoReconnect('db_mongo:29019: [Errno -2] Name or service not known')>]> Sentry is attempting to send 2 pending error messages Waiting up to 2 seconds Press Ctrl-C to quit make: *** [Makefile:38: migrate] Error 1
I tried reaching the host with a browser. After the warning of the self-signed certificate the following screen appeared:
Any suggestions how to fix this?
The text was updated successfully, but these errors were encountered: