Discussions
Activity
Sign In
How it works
Superdesk Development
Difficulties with installing liveblog
Vote Up
0
Vote Down
Liam Heppell
May 2017
Posts: 4
Member
Having difficulties with the install for live blog on an ubuntu box.
there are complains about a timezone when populating, but server doesn't seem to want to start in the honcho command...
(env) root@vps415215:~/liveblog/server# honcho -f ../docker/Procfile-dev start
.......
12:03:55 beat.1 | pytz.exceptions.UnknownTimeZoneError: ''
12:03:55 system | wamp.1 stopped (rc=1)
12:03:55 system | sending SIGTERM to beat.1 (pid 2848)
12:03:55 system | sending SIGTERM to work.1 (pid 2849)
12:03:55 system | sending SIGTERM to rest.1 (pid 2850)
12:03:55 rest.1 | [2017-05-31 12:03:55 +0200] [2855] [INFO] Handling signal: term
12:03:55 system | beat.1 stopped (rc=-15)
12:03:55 system | work.1 stopped (rc=-15)
12:03:55 rest.1 | [2017-05-31 12:03:55 +0200] [2870] [ERROR] Exception in worker process:
12:03:55 rest.1 | Traceback (most recent call last):
12:03:55 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
12:03:55 rest.1 | worker.init_process()
12:03:55 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/workers/base.py", line 118, in init_process
12:03:55 rest.1 | self.wsgi = self.app.wsgi()
.....
12:03:55 rest.1 | File "/root/liveblog/server/env/src/superdesk-core/superdesk/utils.py", line 24, in <module>
12:03:55 rest.1 | from superdesk.default_settings import ELASTIC_DATE_FORMAT
12:03:55 rest.1 | File "/root/liveblog/server/env/src/superdesk-core/superdesk/default_settings.py", line 461, in <module>
12:03:55 rest.1 | DEFAULT_TIMEZONE = tzlocal.get_localzone().zone
12:03:55 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/tzlocal/unix.py", line 123, in get_localzone
12:03:55 rest.1 | _cache_tz = _get_localzone()
12:03:55 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/tzlocal/unix.py", line 62, in _get_localzone
12:03:55 rest.1 | return pytz.timezone(etctz.replace(' ', '_'))
12:03:55 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/pytz/__init__.py", line 181, in timezone
12:03:55 rest.1 | raise UnknownTimeZoneError(zone)
12:03:55 rest.1 | pytz.exceptions.UnknownTimeZoneError: ''
12:03:55 rest.1 | [2017-05-31 12:03:55 +0200] [2870] [INFO] Worker exiting (pid: 2870)
12:03:56 rest.1 | [2017-05-31 12:03:56 +0200] [2871] [ERROR] Exception in worker process:
12:03:56 rest.1 | Traceback (most recent call last):
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
12:03:56 rest.1 | worker.init_process()
......
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 194, in run
12:03:56 rest.1 | handler()
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 229, in handle_term
12:03:56 rest.1 | raise StopIteration
12:03:56 rest.1 | StopIteration
12:03:56 rest.1 |
12:03:56 rest.1 | During handling of the above exception, another exception occurred:
12:03:56 rest.1 |
12:03:56 rest.1 | Traceback (most recent call last):
12:03:56 rest.1 | File "/root/liveblog/server/env/bin/gunicorn", line 11, in <module>
12:03:56 rest.1 | sys.exit(run())
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py", line 74, in run
12:03:56 rest.1 | WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/app/base.py", line 189, in run
12:03:56 rest.1 | super(Application, self).run()
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/app/base.py", line 72, in run
12:03:56 rest.1 | Arbiter(self).run()
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 197, in run
12:03:56 rest.1 | self.halt()
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 297, in halt
12:03:56 rest.1 | self.stop()
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 342, in stop
12:03:56 rest.1 | time.sleep(0.1)
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 214, in handle_chld
12:03:56 rest.1 | self.reap_workers()
12:03:56 rest.1 | File "/root/liveblog/server/env/lib/python3.5/site-packages/gunicorn/arbiter.py", line 459, in reap_workers
12:03:56 rest.1 | raise HaltServer(reason, self.WORKER_BOOT_ERROR)
12:03:56 rest.1 | gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
12:03:56 system | rest.1 stopped (rc=-15)
Anybody come across this? Searching for a way forward.
Thanks,
Liam
1 Comment
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Grisha Kostyuk
May 2017
Posts: 52
Member, Sourcefabric Team
Hi
Liam,
You could try another way to install it:
-
https://github.com/superdesk/fireq/tree/master/files/liveblog
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339