Problem with activation of NFS

Creating a bug report/issue

nfs-server.service - NFS server and services                                                   │
│      Loaded: loaded (/lib/systemd/system/nfs-server.service; disabled; vendor preset: enabled)   │
│      Active: inactive (dead)                                                                     │
│                                                                                                  │
│ Nov 03 21:21:35 DietPi systemd[1]: Dependency failed for NFS server and services.                │
│ Nov 03 21:21:35 DietPi systemd[1]: nfs-server.service: Job nfs-server.service/start failed with  │
│ result 'dependency'.

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=10
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    root@DietPi:/home/dietpi#

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN

  • Kernel version | Linux DietPi 5.18.1-stb-exy+ #1 SMP PREEMPT Sun Jun 5 10:36:47 CEST 2022 armv7l GNU/Linux

  • SBC model | Odroid U3 (armv7l)

  • Power supply used | (EG: 5V 1A RAVpower)

  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: NFS)
  • Was the software title installed freshly or updated/migrated? clean
  • Can this issue be replicated on a fresh installation of DietPi? yes

Can you share following

journalctl -u nfs-server
-- Journal begins at Thu 2022-11-03 21:33:19 CET, ends at Fri 2022-11-04 06:54:13 CET. --
lis 03 21:33:35 DietPi systemd[1]: Dependency failed for NFS server and services.
lis 03 21:33:35 DietPi systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.

Something is missing but it did not tell us what. Can you reboot your system and check following inside logs

journalctl -u nfs*
root@DietPi:/home/dietpi# journalctl -u nfs*
Failed to add filter for units: no data available

strange on my test system this is giving the log for all NFS services. Can you try to remove NFS and install it again using dietpi-software. Maybe good to reboot between removal und new install.

I did it twice :wink:
in the meantime I installed samba and it works without problem.
Thanks.