Skip to content

"SMB shares require root privileges"Β #13516

@easaw

Description

@easaw

βœ… Have you read and understood the above guidelines?

yes

πŸ”Ž Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

πŸ“œ What is the name of the script you are using?

MotionEye NVR

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/motioneye.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 13

πŸ“ˆ Which Proxmox version are you on?

8.4

πŸ“ Provide a clear and concise description of the issue.

As reported here: motioneye-project/motioneye#1263 we can't use SMB/ Samba when the user is not root

"You have configured your motionEye to run as a normal user but you have also enabled SMB shares, which requires root. You can't have both."
motioneye-project/motioneye#1263 (comment)

πŸ”„ Steps to reproduce the issue.

  1. install motioneye
  2. enable SMB
  3. server won't start

❌ Paste the full error output (if available).

` ❌ motioneye.service - motionEye Server
Loaded: loaded (/etc/systemd/system/motioneye.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2026-04-04 05:38:36 BST; 13s ago
Duration: 466ms
Invocation: 3714d7616a8747039e6bbf66d70aa488
Process: 9205 ExecStart=/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf (code=exited, status=255/EXCEPTION)
Main PID: 9205 (code=exited, status=255/EXCEPTION)
Mem peak: 65.6M
CPU: 450ms

Apr 04 05:38:36 motioneye systemd[1]: Started motioneye.service - motionEye Server.
Apr 04 05:38:36 motioneye meyectl[9205]: configure_logging cmd motioneye: False
Apr 04 05:38:36 motioneye meyectl[9205]: configure logging to file: None
Apr 04 05:38:36 motioneye meyectl[9205]: INFO: hello! this is motionEye server 0.44.0b1
Apr 04 05:38:36 motioneye meyectl[9205]: CRITICAL: SMB shares require root privileges
`

πŸ–ΌοΈ Additional context (optional).

"CRITICAL: SMB shares require root privileges"

I have done an update to 0.44 but I have also tried with Default settings, and without updating.

The Home Assistant version of this does allow SMB, and I would like to have MotionEye as a separate VM, but need to install it as root. Please can you add an option when installing to have it install as root?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions