Enable Debug Logging
Before troubleshooting, enable debug logging to get detailed diagnostic information:docker-compose.yml
Viewing Logs
To view Zerobyte logs:Replace
zerobyte with your actual container name if different.Common Issues
Permission Denied Errors When Mounting Remote Shares
Mounting remote filesystems (SMB/CIFS, NFS) requires kernel-level privileges that containers may not have by default. Symptoms:- “Operation not permitted” errors
- “Permission denied” when accessing mounted shares
- Mount failures in container logs
- Remote share credentials are correct
- Host kernel supports the target filesystem (e.g., CIFS module)
- Docker is running in rootful mode (rootless Docker cannot perform kernel mounts)
docker-compose.yml:
docker-compose.yml
Security Levels for Mounting Remote Shares
Different environments require different security configurations.AppArmor-Enabled Systems (Ubuntu/Debian)
On Ubuntu/Debian, AppArmor may block mount operations even withSYS_ADMIN.
Check if AppArmor is active:
docker-default, AppArmor is active.
Solution:
docker-compose.yml
Seccomp-Restricted Environments
Docker’s default seccomp profile may block mount-related syscalls. Solution:docker-compose.yml
SELinux-Enabled Systems (CentOS/Fedora/RHEL)
On Red Hat-based systems with SELinux, additional labels may be required. Solution 1: Container Runtime Labeldocker-compose.yml
docker-compose.yml
Privileged Mode (Last Resort)
If all else fails, you can run in privileged mode. Only use for troubleshooting.docker-compose.yml
FUSE Mount Failures
FUSE-based mounts (rclone mount, sshfs) require/dev/fuse access.
Symptoms:
- “failed to open /dev/fuse: Permission denied”
- “fusermount3: failed to open /dev/fuse”
- rclone volume mounts fail
docker-compose.yml
Rclone Issues
Critical: Test on Host First
Host Verification Checklist:- Expired OAuth tokens (run
rclone configto re-authenticate) - Incorrect credentials
- Missing cloud provider permissions
- Network/firewall blocking access
Pre-flight Checklist
Before troubleshooting rclone in Zerobyte:- Rclone is installed on the Docker host
-
rclone listremotesshows your remote -
rclone lsd remote:successfully lists directories - Rclone config directory is mounted into the container
- Container has been restarted after mounting config
”No Remotes Available” in Dropdown
Cause: Zerobyte cannot find your rclone configuration file. Diagnosis:docker-compose.yml
docker-compose.yml
“Failed to Create File System” Error
Cause: Authentication failure with the cloud provider. Solution:- Re-authenticate on the host:
- Verify authentication:
- Restart Zerobyte:
EACCES Errors
Cause: AppArmor or seccomp blocking rclone execution. Solution: Disable security profiles as described in:Rclone SFTP Repository Authentication Failures
When using SFTP remotes with SSH key authentication, the key file path inrclone.conf points to the host filesystem, not the container.
Problem: key_file = ~/.ssh/id_rsa won’t work inside the container.
Solution 1: Mount SSH Keys (Recommended)
docker-compose.yml
~/.config/rclone/rclone.conf:
docker-compose.yml
Rclone Volume Mount Issues
Using rclone as a volume backend requires additional prerequisites. Prerequisites:- Linux Docker host (not Windows/macOS)
/dev/fusedevice accessSYS_ADMINcapability- FUSE support on host
docker-compose.yml
mount helper error: fusermount3: failed to open /dev/fuse: Permission denied
Solution: Add /dev/fuse device mapping (see above).
Error: mount helper error: fusermount3: mount failed: Operation not permitted
Solution: Add SYS_ADMIN capability (see above).
Collecting Diagnostic Information
If you need to open a GitHub issue, gather this information:- Passwords and API keys
- Access tokens
- Repository URLs
- Personal email addresses
- Server hostnames and IP addresses
Getting Help
If you’ve followed this guide and still have issues:- Check existing issues: GitHub Issues
- Search closed issues: Your problem may already be solved
- Open a new issue: Include diagnostic information and logs (with secrets removed)
- Zerobyte version (
docker exec zerobyte zerobyte --version) - Docker version (
docker --version) - Host operating system
- Relevant
docker-compose.yml(redact secrets) - Error messages from logs
- Steps to reproduce
- What you’ve already tried
Related Resources
- Rclone Integration - Complete rclone setup guide
- CLI Commands - Administrative command-line tools
- Organizations - Multi-tenancy and team management
- GitHub Repository - Source code and issue tracker
