Custom Query (1173 matches)


Show under each result:

Results (49 - 51 of 1173)

Ticket Resolution Summary Owner Reporter
#1030 no-action supervisord examples in documentation arthur.lutz

One way of running paste and the celery worker is to use supervisord, it would be nice to include and example in the code or the doc

#860 no-action supervisor control files Guillaume Hayot

In the Considerations for Production Deployments, there are a few distribution specific init scripts mentionned. Here's a more cross-system one, using Supervisor, a process control system. On Debian, it's more reliable than joar's MediaGoblin init scripts, as it doesn't fail at restarting them.

I suggest to add the following "init method" for Debian in the documentation mentionned above.

The Paster FCGI server supervisor file, with MediaGoblin's documentation paths.

command = /srv/ serve /srv/ --server-name=fcgi fcgi_host= fcgi_port=26543
directory = /srv/
user = mediagoblin
autostart = true
autorestart = true
stdout_logfile = /var/log/supervisor/mediagoblin-paster.log
stderr_logfile = /var/log/supervisor/mediagoblin-paster_err.log
environment = CELERY_ALWAYS_EAGER=false

The Celery task processor supervisor file, with MediaGoblin's documentation paths.

command = /srv/
directory = /srv/
user = mediagoblin
autostart = true
autorestart = true
stdout_logfile = /var/log/supervisor/mediagoblin-celeryd.log
stderr_logfile = /var/log/supervisor/mediagoblin-celeryd_err.log
environment = CELERY_CONFIG_MODULE="mediagoblin.init.celery.from_celery"

I'm not a supervisor-guru, I just followed these Section Values in supervisor's configuration documentation, so anyone is free to improve it, of course !

#428 invalid sudo -u goblinartists ./bin/gmg dbupdate returns sqlalchemy.exc.ProgrammingError: (ProgrammingError) exception Jorge Araya Navarro Jorge Araya Navarro

I'm trying to deploy Postgres in my mediagoblin instance, but I have this problem.

[shackra@abrilhost mediagoblin]$ sudo -u goblinartists ./bin/gmg dbupdate
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/srv/http/ SAWarning: Unicode type received non-unicode bind param value.
Traceback (most recent call last):
  File "./bin/gmg", line 8, in <module>
    load_entry_point('', 'console_scripts', 'gmg')()
  File "/srv/http/", line 100, in main_cli
  File "/srv/http/", line 93, in dbupdate
  File "/srv/http/", line 88, in run_dbupdate
  File "/srv/http/", line 196, in init_or_migrate
    migration_number = self.database_current_migration
  File "/srv/http/", line 104, in database_current_migration
    if self.migration_data is None:
  File "/srv/http/", line 80, in migration_data
  File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/", line 2107, in first
  File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/", line 2001, in __getitem__
  File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/", line 2176, in __iter__
  File "build/bdist.linux-x86_64/egg/sqlalchemy/orm/", line 2191, in _execute_and_instances
  File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/", line 1450, in execute
  File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/", line 1583, in _execute_clauseelement
  File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/", line 1697, in _execute_context
  File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/", line 1690, in _execute_context
  File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/", line 335, in do_execute
sqlalchemy.exc.ProgrammingError: (ProgrammingError) permission denied for relation core__migrations
 'SELECT AS core__migrations_name, core__migrations.version AS core__migrations_version \nFROM core__migrations \nWHERE = %(name_1)s \n LIMIT %(param_1)s' {'name_1': '__main__', 'param_1': 1}
[shackra@abrilhost mediagoblin]$

this could be a bug?

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.