Skip to content

Deamon mode seems broken in 2.1.10 #1274

@Mirgolth

Description

@Mirgolth

Expected behaviour:

Deamon mode

Actual behaviour:

Deamon is stopping righth at launch with no error message

A revert to version 2.1.9 fixes the issue.

Steps to reproduce:

  • Step 1: Start in deamon mode with flexget 2.1.10

Log:

Debug log of startup, after this a ps show no flexget process.

2016-07-13 16:14 DEBUG    manager                       Config file /usr/local/flexget/var/config.yml selected
2016-07-13 16:14 DEBUG    manager                       sys.defaultencoding: ascii
2016-07-13 16:14 DEBUG    manager                       sys.getfilesystemencoding: utf-8
2016-07-13 16:14 DEBUG    manager                       os.path.supports_unicode_filenames: False
2016-07-13 16:14 DEBUG    plugin                        Trying to load plugins from: [u'/usr/local/flexget/var/plugins', '/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins']
2016-07-13 16:14 DEBUG    safe                          Reading from cache file /tmp/safe-0.4.words.cache
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_inviteonly for (command=[u'ERRINVITEONLYCHAN'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_error for (command=[u'ERROR'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_ping for (command=[u'PING'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_invite for (command=[u'INVITE'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_rplmotdend for (command=[u'RPLMOTDEND', u'ERRNOMOTD'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_privmsg for (command=[u'PRIVMSG'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_join for (command=[u'JOIN'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_kick for (command=[u'KICK'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_banned for (command=[u'ERRBANNEDFROMCHAN'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_welcome for (command=[u'RPLWELCOME'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_nickinuse for (command=[u'ERRNICKNAMEINUSE'], msg=[])
2016-07-13 16:14 DEBUG    irc_bot                       Adding event handler on_nosuchnick for (command=[u'ERRNOSUCHNICK'], msg=[])
2016-07-13 16:14 DEBUG    plugin                        Plugin `memusage` requires `ext lib `guppy`` to load.
2016-07-13 16:14 DEBUG    plugin                        Plugins took 11.39 seconds to load
2016-07-13 16:14 DEBUG    manager                       Connecting to: sqlite:////usr/local/flexget/var/db-config.sqlite
2016-07-13 16:14 DEBUG    manager                       config_name: config
2016-07-13 16:14 DEBUG    manager                       config_base: /usr/local/flexget/var
2016-07-13 16:14 DEBUG    manager                       New config data loaded.
2016-07-13 16:14 DEBUG    schema                        current flexget version already exist in db 2.1.10
2016-07-13 16:14 DEBUG    parsing                       setting default movie parser to internal. (options: {u'internal': <flexget.plugins.parsers.parser_internal.ParserInternal object at 0x2d077090>, u'guessit': <flexget.plugins.parsers.parser_guessit.ParserGuessit object at 0x2dbc2650>})
2016-07-13 16:14 DEBUG    parsing                       setting default series parser to internal. (options: {u'internal': <flexget.plugins.parsers.parser_internal.ParserInternal object at 0x2d077090>, u'guessit': <flexget.plugins.parsers.parser_guessit.ParserGuessit object at 0x2dbc2650>})
2016-07-13 16:14 INFO     manager                       Daemonizing...
2016-07-13 16:14 DEBUG    manager                       Removed /usr/local/flexget/var/.config-lock
2016-07-13 16:14 DEBUG    manager                       Lockfile /usr/local/flexget/var/.config-lock not found
2016-07-13 16:14 INFO     manager                       Daemonize complete. New PID: 9832
2016-07-13 16:14 INFO     scheduler                     Local timezone name could not be determined. Scheduler will display times in UTC for any logmessages. To resolve this set up /etc/timezone with correct time zone name.
2016-07-13 16:14 INFO     scheduler                     Starting scheduler
2016-07-13 16:14 INFO     apscheduler.scheduler                 Scheduler started
2016-07-13 16:14 INFO     apscheduler.scheduler                 Resumed scheduler job processing
2016-07-13 16:14 DEBUG    manager                       Removed /usr/local/flexget/var/.config-lock
2016-07-13 16:14 DEBUG    apscheduler.scheduler                 Looking for jobs to run

Additional information:

  • Flexget Version: 2.1.10
  • Python Version: Python 2.7.11
  • Installation method: pip
  • OS and version: Linux Strawberry 3.2.40 #7393 SMP Thu Jun 2 19:48:19 CST 2016 armv7l GNU/Linux
    synology_armadaxp_ds214

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions