You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deb file in releases doesn't create the mini-io user/group that the service file expects. Similarly, the service file expects /etc/default/minio and the .deb doesn't create it.
Expected Behavior
Deb's pre-inst script creates the user/group. Deb's post-rm script removes the user/group.
Pre-inst should make /etc/default/minio, but not remove it if the user has edited it.
Current Behavior
On install, these resources are not created.
Possible Solution
Add pre-inst and post-rm scripts to create the user/group and rm the user/group. It should put a /etc/default/minio in place.
Use apt or dpkg to install the released deb. Use systemd status and see it not running and the error indicating a lack of a user/group.
After creating user/group, see if fail for lack of envars that should be set in /etc/default/minio
Context
I ended up repackaging the deb to add the needed resources. I create the user/group and put a basic /etc/default/minio in place, but with a commented-out password and a service file designed to complain. That will make "systemd start minio" fail, but it should then be obvious how to fix it if the user looks in journalctl.
Your Environment
minio version RELEASE.2026-04-17T00-00-00Z (commit-id=f48dbe777d0e066d2e74d5e671a8ca21c2ec1664)
Runtime: go1.26.2 linux/amd64
The original MinIO Debian packages including such as:
minio_20210223200501.0.0_amd64.deb
minio_20250907161309.0.0_amd64.deb
They do not ship Debian maintainer scripts like preinst, postinst, prerm, or postrm. That means they did not create the minio-user system account, did not create /etc/default/minio, and did not enable or start the systemd service automatically.
So this behavior is inherited from the original MinIO packaging. For compatibility, I would prefer not to make the package create OS users, credentials, data directories, or service configuration automatically. Those are deployment-specific choices and are better handled explicitly by the administrator rather than hidden inside Debian package installation.
Activity
Vonng commentedon Jun 30, 2026
Thanks for the report.
The original MinIO Debian packages including such as:
minio_20210223200501.0.0_amd64.debminio_20250907161309.0.0_amd64.debThey do not ship Debian maintainer scripts like
preinst,postinst,prerm, orpostrm. That means they did not create theminio-usersystem account, did not create/etc/default/minio, and did not enable or start the systemd service automatically.So this behavior is inherited from the original MinIO packaging. For compatibility, I would prefer not to make the package create OS users, credentials, data directories, or service configuration automatically. Those are deployment-specific choices and are better handled explicitly by the administrator rather than hidden inside Debian package installation.
If you want a playbook that prepares the full MinIO operating-system environment automatically, I wrote one in Pigsty FYI: MinIO module: https://pigsty.io/docs/minio/