Failed to decode JSON string: No error

  • Hello


    I recently started to have a problem with the Docker plugin. I want to change the location of the docker base path in the plugin, however if I specify a folder that's in a different hard drive (Anything that's not the OS hard drive) I get this message.



    Error #0:
    exception 'OMV\Rpc\Exception' with message 'Failed to decode JSON string: No error' in /usr/share/php/openmediavault/rpc/rpc.inc:184
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Docker', 'setSettings', Array, Array, 3)
    #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #2 {main}
    OMV\Rpc\Exception


    I'm not really sure of what's going on, hopefully you will be able to help me.


    Thank you!

    • Offizieller Beitrag

    There must be a bug in the plugin, unfortunately the person maintaining the plugin is not available any more. I personally don't use that feature.


    I simply place a symlink in /var/lib/docker pointing to one of my volumes.


    Code
    root@nb:/var/lib # ls -la | grep docker
    lrwxrwxrwx 1 root     root        50 Aug 27  2016 docker -> /media/dd703d81-9006-411d-a256-587ac3260154/docker
    root@nb:/var/lib #

Jetzt mitmachen!

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