hello someone encountered the same problem as me after the last update ..
NFS down with Omv 6.5.7 update
-
- OMV 6.x
- resolved
- opennas
-
-
NO IDEA of the facts behind my fixing this but I too had the same error.... What I did was DE-Select VERSIONS* save/apply then Selected them all again, and it works ow.
-
NO IDEA of the facts behind my fixing this but I too had the same error.... What I did was DE-Select VERSIONS* save/apply then Selected them all again, and it works ow.
This problem should only affect a small number of systems that have immediately installed openmediavault 6.5.0 at the time this version was released. The issue was fixed with 6.5.0-3 soon after the release of the erroneous package.
-
-
votdev
Added the Label OMV 6.x -
hello someone encountered the same problem as me after the last update ..
Go to the NFS settings page, select the NFS versions you want to run, save and apply. After that it should work correct.
-
Vai alla pagina delle impostazioni NFS, seleziona le versioni NFS che vuoi eseguire, salva e applica. Dopodiché dovrebbe funzionare correttamente.
Thanks, I did just that and it fixed it
-
-
-
I had to do this to get it working:
- Disable NFS (and apply changes)
- Reboot
- Select supported versions
- Enable NFS
- Apply changes
If I tried to modify the NFS versions without disabling / rebooting, I continued to get errors.
-
These fixes are not working for me. I can't disable NFS
-
after monkeying with it a few different ways, I got it to accept the changes. Seems fine now
-
-
dopo averci provato in diversi modi, sono riuscito ad accettare le modifiche. Sembra a posto ora
ok
-
-
In case it can help anyone else, on 3 of my OMV systems, the following worked:
- Disable NFS and apply changes
- Select desired versions
- Enable NFS
- Apply changes
However, on 1 of my OMV systems, trying to re-enable gave the error:
Codestderr: Running scope as unit: run-r6dc6a006ba74427a887925fb2d1d8208.scope Job for nfs-server.service canceled.
It ended up requiring this (the reboot before re-enabling being the difference):
I had to do this to get it working:
- Disable NFS (and apply changes)
- Reboot
- Select supported versions
- Enable NFS
- Apply changes
Not sure, but it may have been because that server had an NFS client attached (but no files or directories open). I didn't see if unmounting the NFS shares in the client would make any difference, so not sure if that was the reason that server needed more or not.
Still, if the "normal" way fails, a reboot before re-enabling might make the difference.
-
-
All it's needed is to edit the settings and save.
For eg:
Unmark and mark again any box so that the SAVE button is active.
After that, all will work again,
Thank you! I ran into this problem today after updating 1 of my OMV servers and this worked perfect.
-
I just upgraded my OMV packages today (I backup and upgrade weekly) and had the same issue. A combination of deselecting (versions), saving, reselecting (versions), saving, and rebooting finally fixed the issue. First time in months that the omv 6 upgrade did not go smoothly. Thankfully, I found that is thread. Thanks for the tips.
-
First time in months that the omv 6 upgrade did not go smoothly.
Sorry
-
-
I had to do this to get it working:
- Disable NFS (and apply changes)
- Reboot
- Select supported versions
- Enable NFS
- Apply changes
If I tried to modify the NFS versions without disabling / rebooting, I continued to get errors.
Seems like a Reboot is not necessary. It worked with it for me. Many thanks!
-
OK, thanks for the recommendation to solve this issue.
EDIT: votdev and ryecoaaron By the way... My OMV6 setup is absolutely rock stable since I installed it round about 9 month ago. Thank you for this great peace of software.
-
Had the same issue and didn't see the nfs versions selection option. After a hard refresh of the page (ctrl+f5) it did become available. Just posting for others who might encounter the same issue.
-
-
Im alo having this problem since updating OMV.
NFS is competely borked.
Ive tried enabling/reenabling versions, but everytime i try to apply changes, I get this error and have to revert-
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color nfs 2>&1' with exit code '1': debian:
----------
ID: configure_default_nfs-common
Function: file.managed
Name: /etc/default/nfs-common
Result: True
Comment: File /etc/default/nfs-common is in the correct state
Started: 09:34:08.036469
Duration: 146.14 ms
Changes:
----------
ID: configure_default_nfs-kernel-server
Function: file.managed
Name: /etc/default/nfs-kernel-server
Result: True
Comment: File /etc/default/nfs-kernel-server updated
Started: 09:34:08.182753
Duration: 184.916 ms
Changes:
----------
diff:
---
+++
@@ -8,7 +8,7 @@
RPCNFSDPRIORITY="0"
# Options for rpc.nfsd.
-RPCNFSDOPTS="--no-nfs-version 4.2 --no-nfs-version 4.1 --no-nfs-version 2 --nfs-version 4 --nfs-version 3 "
+RPCNFSDOPTS="--no-nfs-version 2 --nfs-version 4.2 --nfs-version 4.1 --nfs-version 4 --nfs-version 3 "
# Options for rpc.mountd.
RPCMOUNTDOPTS="--no-nfs-version 2 --nfs-version 3 --nfs-version 4 --manage-gids"
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 09:34:08.367808
Duration: 287.229 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: Service rpc-statd has been enabled, and is running
Started: 09:34:09.802715
Duration: 811.798 ms
Changes:
----------
rpc-statd:
True
----------
ID: start_nfs_server_service
Function: service.running
Name: nfs-server
Result: False
Comment: Job for nfs-server.service canceled.
Started: 09:34:10.805854
Duration: 171.289 ms
Changes:
Summary for debian
------------
Succeeded: 4 (changed=2)
Failed: 1
------------
Total states run: 5
Total run time: 1.601 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-rd4f3e71c1ee449d09c2bcfb268fc85d9.scope
Job for nfs-server.service canceled.
[ERROR ] retcode: 1
[ERROR ] Job for nfs-server.service canceled.
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r7c785c2fa8c84687a6990dc8b6ef7776.scope
Job for nfs-server.service canceled.
[ERROR ] retcode: 1
[ERROR ] Job for nfs-server.service canceled.
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color nfs 2>&1' with exit code '1': debian:
----------
ID: configure_default_nfs-common
Function: file.managed
Name: /etc/default/nfs-common
Result: True
Comment: File /etc/default/nfs-common is in the correct state
Started: 09:34:08.036469
Duration: 146.14 ms
Changes:
----------
ID: configure_default_nfs-kernel-server
Function: file.managed
Name: /etc/default/nfs-kernel-server
Result: True
Comment: File /etc/default/nfs-kernel-server updated
Started: 09:34:08.182753
Duration: 184.916 ms
Changes:
----------
diff:
---
+++
@@ -8,7 +8,7 @@
RPCNFSDPRIORITY="0"
# Options for rpc.nfsd.
-RPCNFSDOPTS="--no-nfs-version 4.2 --no-nfs-version 4.1 --no-nfs-version 2 --nfs-version 4 --nfs-version 3 "
+RPCNFSDOPTS="--no-nfs-version 2 --nfs-version 4.2 --nfs-version 4.1 --nfs-version 4 --nfs-version 3 "
# Options for rpc.mountd.
RPCMOUNTDOPTS="--no-nfs-version 2 --nfs-version 3 --nfs-version 4 --manage-gids"
----------
ID: configure_nfsd_exports
Function: file.managed
Name: /etc/exports
Result: True
Comment: File /etc/exports is in the correct state
Started: 09:34:08.367808
Duration: 287.229 ms
Changes:
----------
ID: start_rpc_statd_service
Function: service.running
Name: rpc-statd
Result: True
Comment: Service rpc-statd has been enabled, and is running
Started: 09:34:09.802715
Duration: 811.798 ms
Changes:
----------
rpc-statd:
True
----------
ID: start_nfs_server_service
Function: service.running
Name: nfs-server
Result: False
Comment: Job for nfs-server.service canceled.
Started: 09:34:10.805854
Duration: 171.289 ms
Changes:
Summary for debian
------------
Succeeded: 4 (changed=2)
Failed: 1
------------
Total states run: 5
Total run time: 1.601 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-rd4f3e71c1ee449d09c2bcfb268fc85d9.scope
Job for nfs-server.service canceled.
[ERROR ] retcode: 1
[ERROR ] Job for nfs-server.service canceled.
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r7c785c2fa8c84687a6990dc8b6ef7776.scope
Job for nfs-server.service canceled.
[ERROR ] retcode: 1
[ERROR ] Job for nfs-server.service canceled. in /usr/share/php/openmediavault/system/process.inc:242
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(174): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusb3...', '/tmp/bgoutputDn...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(195): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
-
In case it can help anyone else, on 3 of my OMV systems, the following worked:
- Disable NFS and apply changes
- Select desired versions
- Enable NFS
- Apply changes
However, on 1 of my OMV systems, trying to re-enable gave the error:
Codestderr: Running scope as unit: run-r6dc6a006ba74427a887925fb2d1d8208.scope Job for nfs-server.service canceled.
It ended up requiring this (the reboot before re-enabling being the difference):
Not sure, but it may have been because that server had an NFS client attached (but no files or directories open). I didn't see if unmounting the NFS shares in the client would make any difference, so not sure if that was the reason that server needed more or not.
Still, if the "normal" way fails, a reboot before re-enabling might make the difference.
Unfortunately, this didnt work for me.
When I try to reenable NFS I get the same 500 internal server error as above, and have to revert.
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color nfs 2>&1' with exit code '1': debian:
No combination of NFS versions allows me to re-enable NFS. without triggering the errors. Looks like I'm stuck with SMB/CIFS for the time being. Which is rubbish for streaming 4K to Kodi.
UPDATE - Finally got it working. It was either one or a combination of all to get it working again.
With NFS Disabled
1) I removed all NFS shares.
2) unchecked all NFS versions EXCEPT NFSv3 (don't know if thats significant)
3) Saved the version changes, but DIDN'T Apply the changes,
4) Rebooted
5) Enabled NFS and applied the changes. NO ERRORS!
6) Recreated NFS shares. Applied changes. No Errors!
7) Re-enabled NFS versions 3,4,4.1,4.2 Applied changes No Errors!
All good now.
Cant be sure but I think step 3 may have been crucial. Save the versions changes, but dont apply until after reboot.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!