500 error on idhemcorp.fr

3 views
Skip to first unread message

Mehdi Hamidi

unread,
Mar 30, 2017, 1:21:43 AM3/30/17
to zulip...@googlegroups.com

Hi there!

 

I was trying to  run the initialize-database at around 10pm when I got a 500 error while accessing idhemcorp.fr

Here the return while running the scirpt

 

 

/home/zulip/deployments/current/scripts/setup/initialize-database

++ dirname /home/zulip/deployments/current/scripts/setup/initialize-database

+ cd /home/zulip/deployments/current/scripts/setup/../..

+ ./manage.py checkconfig

Traceback (most recent call last):

  File "/home/zulip/deployments/2017-03-25-21-52-14/scripts/lib/log-management-command", line 12, in <module>

    from django.conf import settings

  File "/home/zulip/deployments/2017-03-25-21-52-14/zulip-venv/local/lib/python2.7/site-packages/django/__init__.py", line 3, in <module>

    from django.utils.version import get_version

  File "/home/zulip/deployments/2017-03-25-21-52-14/zulip-venv/local/lib/python2.7/site-packages/django/utils/version.py", line 3, in <module>

    import datetime

ImportError: No module named datetime

Traceback (most recent call last):

  File "./manage.py", line 22, in <module>

    " ".join(sys.argv)])

  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/home/zulip/deployments/2017-03-25-21-52-14/scripts/lib/log-management-command', './manage.py checkconfig']' returned non-zero exit status 1

zulip@ZulipGlb:/root$

 

 

 

Thanks!

 

Sincerely,

 

Mehdi

Provenance : Courrier pour Windows 10

 

Tim Abbott

unread,
Mar 30, 2017, 1:18:39 PM3/30/17
to Mehdi Hamidi, zulip...@googlegroups.com
Hi Mehdi,

Sorry for the delayed reply; your message got flagged as spam.

Can you post /var/log/zulip/install.log?  It's clear from the error message that the Zulip virtualenv was not installed correctly, which should have happened in an earlier step.  

--
You received this message because you are subscribed to the Google Groups "zulip-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zulip-devel+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zulip-devel/DB6P190MB00387B9FF078D8DD42C7E488BB310%40DB6P190MB0038.EURP190.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

Tim Abbott

unread,
Mar 30, 2017, 2:18:30 PM3/30/17
to Mehdi Hamidi, zulip...@googlegroups.com
The errors will be in /var/log/zulip/errors.log.  

BTW in general, we recommend installing Zulip fresh on 16.04 rather than installing on 14.04 and then upgrading.  

On Thu, Mar 30, 2017 at 11:16 AM, Mehdi Hamidi <mha...@live.fr> wrote:

Hi team, thanks for your reply,

 

Correct it was the virtual env after upgrading from 14.04 to 16.04  the issue was solved by recreating the sym link to python 2.7

 

A new issue appaered :

 

After creating my account i tryied to create the organization the process is ending by a 500 error even if the field are correctly filled.

 

You dhould have any further needs of log please ask.

 

Regards Mehdi

Envoyé de mon téléphone Windows 10

 

De : Tim Abbott
Envoyé le :jeudi 30 mars 2017 19:18
À : Mehdi Hamidi
Cc : zulip...@googlegroups.com
Objet :Re: [zulip-devel] 500 error on idhemcorp.fr

 

Tim Abbott

unread,
Mar 30, 2017, 2:46:37 PM3/30/17
to Mehdi Hamidi, zulip...@googlegroups.com
Mehdi,

It's clear from the logs that RabbitMQ isn't working properly on your system.  


On Thu, Mar 30, 2017 at 11:43 AM, Mehdi Hamidi <mha...@live.fr> wrote:

Tim,

 

Please find attached the file.

 

Regards Mehdi

 

De : Tim Abbott [mailto:tab...@zulipchat.com]
Envoyé : jeudi 30 mars 2017 20:18
À : Mehdi Hamidi <mha...@live.fr>

Reply all
Reply to author
Forward
0 new messages