XPath Error sind removing AFP 2.0

  • Hey there,
    since I removed the openmediavault-netatalk package in version 2.0 I'm receiving everytime an error if I'm doing anything in OMV web gui.
    I attached a screenshot. Can you tell me how to solve this? It's really annoying.



    Have a nice day
    LouBen3010

    • Offizieller Beitrag

    Did you clear your browser cache?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks for your fast reply.


    I can expand the error message and receive:

    Code
    Error #3003:
    exception 'OMVException' with message 'Failed to get configuration (xpath=//services/afp)' in /usr/share/openmediavault/engined/module/afp.inc:110
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/services.inc(63): OMVModuleAFP->getStatus()
    #1 [internal function]: OMVRpcServiceServices->getStatus(Array, Array)
    #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getStatus', Array, Array)
    #4 /usr/sbin/omv-engined(500): OMVRpc::exec('Services', 'getStatus', Array, Array, 1)
    #5 {main}


    It seems to bee an error from OMV itself.

    • Offizieller Beitrag

    But if you don't clear your browser cache, it will still try to call the server and ask for afp info which may be why you are getting this error. I have seen this many times. You can try a different browser and/or try incognito/private browsing as well.


    If none of that works, post the output of: dpkg -l | grep openm

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Unfortunately clearing the browser cache (and using a different browser) did not work for me.
    Your command has given me the following results:


    • Offizieller Beitrag

    How about:


    omv-showkey afp
    grep afp /etc/openmediavault/config.xml

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    That is fine. That means there is no reference to afp in the database anymore.


    What about: find /usr/share/openmediavault/ -name "afp*"

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • That's embarrassing.. I forgot to restart as "Have you turned it on and off again?" solution.
    I'm used to the fact that the server is alway on that I forgot about this simple solution.


    I'm sorry for taking your time.
    Thanks for the final hint votdev.

Jetzt mitmachen!

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