Code Monkey home page Code Monkey logo

Comments (8)

galexrt avatar galexrt commented on July 21, 2024

@ff- Could you please post the full output and your quay.io/galexrt/zulip image id?

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@ff- Thanks for log part. Could you provide the full log of the zulip container?

from docker-zulip.

f-f avatar f-f commented on July 21, 2024

@galexrt the image id is quay.io/galexrt/zulip:v1.3.7-1

Here's the full log of the zulip_zulip_1 container:

=== Begin Initial Configuration Phase ===
Executing nginx configuration ...
Nginx configuration succeeded.
Exectuing certificates configuration...
Certificates configuration succeeded.
Setting Zulip secrets ...
Secrets already generated.
Secret found for "email_password".
Secret found for "rabbitmq_password".
Zulip secrets configuration succeeded.
Setting database configuration ...
Setting key "DATABASES", type "array".
Database configuration succeeded.
Setting caches configuration ...
Setting key "CACHES", type "array".
Caches configuration succeeded.
Activating authentication backends ...
Setting key "AUTHENTICATION_BACKENDS", type "array".
Adding authentication backend "EmailAuthBackend".
Authentication backend activation succeeded.
Setting redis configuration ...
Setting key "RATE_LIMITING", type "bool".
Setting key "REDIS_HOST", type "string".
Setting key "REDIS_HOST_PORT", type "int".
Redis configuration succeeded.
Setting rabbitmq configuration ...
Setting key "RABBITMQ_HOST", type "string".
Setting key "RABBITMQ_USERNAME", type "string".
Rabbitmq configuration succeeded.
Executing Zulip configuration ...
Setting key "EMAIL_HOST_USER", type "string".
Setting key "NOREPLY_EMAIL_ADDRESS", type "string".
Setting key "EMAIL_HOST", type "string".
Setting key "EXTERNAL_HOST", type "string".
Setting key "ADMIN_DOMAIN", type "string".
Setting key "DEFAULT_FROM_EMAIL", type "string".
Setting key "ZULIP_ADMINISTRATOR", type "string".
Zulip configuration succeeded.
Auto backup enabled.
=== End Initial Configuration Phase ===
=== Begin Bootstrap Phase ===
Waiting for database server to allow connections ...
(Re)creating database structure ...
Database structure recreated.
Bootstrapping RabbitMQ ...
RabbitMQ deleting user "guest".
Deleting user "guest" ...
RabbitMQ adding user "zulip".
Creating user "zulip" ...
RabbitMQ setting user tags for "zulip".
Setting tags for user "zulip" to [administrator] ...
RabbitMQ setting permissions for user "zulip".
Setting permissions for user "zulip" in vhost "/" ...
RabbitMQ bootstrap succeeded.
Executing Zulip user creation script ...
Zulip user creation left enabled.
Executing Zulip first start init ...
Traceback (most recent call last):
  File "/home/zulip/deployments/current/manage.py", line 24, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 393, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 444, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 93, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 19, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 47, in __init__
    self.build_graph()
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 182, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 59, in applied_migrations
    self.ensure_schema()
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 53, in ensure_schema
    editor.create_model(self.Migration)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 286, in create_model
    self.execute(sql, params or None)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 111, in execute
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 97, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 62, in execute
    return self.cursor.execute(sql)
  File "/home/zulip/deployments/2015-10-25-16-12-27/zerver/lib/db.py", line 23, in execute
    return wrapper_execute(self, super(TimeTrackingCursor, self).execute, query, vars)
  File "/home/zulip/deployments/2015-10-25-16-12-27/zerver/lib/db.py", line 11, in wrapper_execute
    return action(sql, params)
django.db.utils.ProgrammingError: no schema has been selected to create in

Zulip first start init failed in "migrate --noinput". with exit code 0

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@ff- I looked into the problem and I fixed it in 4b46b0b.
Images are currently being built (You can see the status here https://quay.io/repository/galexrt/zulip).

Could you please post the output of the command docker exec -t zulip_zulip_1 env here, if you have added credentials please remove them in the output. Thanks.

from docker-zulip.

f-f avatar f-f commented on July 21, 2024

@galexrt that command would not run, because the zulip_zulip_1 container has exited on the error.

The build that you just triggered will be available under the same tag?

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@ff- Yes under the same tag. Please repull, when the image is built.
See here https://quay.io/repository/galexrt/zulip.

It will take some time for the image to be built (current estimated time 2 hours).
Sry about the long image build time. But the error you have, should be fixed now.

If you have any other questions, you can join the IRC. :)

from docker-zulip.

galexrt avatar galexrt commented on July 21, 2024

@ff- Can you try again with the new image if the error is still there?

from docker-zulip.

f-f avatar f-f commented on July 21, 2024

@galexrt it is fixed now, thank you so much for the hotfix! :)

I can see the container starting correctly from the logs, however I cannot access to the webpage yet, due to some SSL problems that I'm debugging. I will open another issue if they are related to this Dockerfile, while I'm closing this one.

from docker-zulip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.