Can't Add New User

  • I've just finished setting up a Pi OMV5 server, and everything is -- well, was -- going swimmingly, except that between last night and this morning I seem to have lost the ability to add new users. I'm pretty tech-savvy and familiar with coding, but Linux environments and OMV are relatively new to me. I receive the following error message:

    It appears that 'useradd' can't create the directory, and I can't seem to find the reason why. I've followed the Techno Dad Life video like others I've seen here on the forum, including enabling Docker and Portainer. I can't seem to track down the precise meaning of exit code 12 in this context.

    Any direction here would be most appreciated!

    • Official Post

    Looks like you enabled "user home directory" in the Settings tab of "Access Right Management >> User".

    In that tab you specified a folder. Is that /srv/dev-disk-by-lable-UnDrive/Undrive ?

    Does that folder exist on your drive?


    If you don't use user home directory, just disable the feature.

  • Yes, indeed. Thank you for the quick response.

    The hope is to allow each user in the home to automatically have their own home directory on the NAS. I have found this in my file system:

    It's looking like the mount point was changed or adjusted and it's pointing to a place that isn't there?

  • Haha yeah it looked wrong to me too to be sure. I'm still digging... my guess is that it had something to do with changes made when installing Docker or Portainer... but that's just a guess. Looking like the only fix will be to reset the file system and see if it happens again. Backing everything up and giving it a shot now. Thanks again for your time, open source communities are the best.

  • I seem to have resolved the issue, though still without having determined what caused it. Whatever the cause, the originally set-up Shared Folder was now pointing to a drive that didn't exist, at /dev/disk/by-label/UnDrive. I updated the link in the Share to the /dev/sda1 location, mounted sda1 successfully, rebooted, and now everything seems to be in proper order again, with the Missing file system link to the phantom /dev/disk/by-drive/ reference gone from the list.

    Fascinating stuff!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!