omv-mkconf cron throws an error and doesn't let me save the cron

  • Hi there, i've got an issue with crons.
    Everytime i try to apply the changes i made, i get this error:


    Code
    Fehler #0: exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf cron 2>&1' with exit code '1': Traceback (most recent call last): File "/usr/sbin/omv-mkconf", line 81, in <module> sys.exit(main()) File "/usr/sbin/omv-mkconf", line 77, in main rc = execute_script() File "/usr/sbin/omv-mkconf", line 47, in execute_script __args.verbose) File "/usr/lib/python3/dist-packages/openmediavault/log.py", line 64, in error _log(syslog.LOG_ERR, msg, args, **kwargs) File "/usr/lib/python3/dist-packages/openmediavault/log.py", line 34, in _log sys.stderr.write("{}: {}\n".format(tag[priority], msg % args)) TypeError: not all arguments converted during string formatting' in /usr/share/php/openmediavault/system/process.inc:174 Stack trace: #0 /usr/share/openmediavault/engined/module/cron.inc(51): OMV\System\Process->execute() #1 /usr/share/openmediavault/engined/rpc/config.inc(163): OMVModuleCron->applyConfig() #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array) #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array) #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(517): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusK5...', '/tmp/bgoutputsS...') #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #7 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array) #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array) #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #10 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array) #11 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1) #12 {main}


    Does somebody have a hint?


    Thanks in advance!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!