-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
Environment
- Host OS: Ubuntu 24.04 (fresh installation)
- Installation method: Docker / docker-compose (following the official production instructions)
- Docker version: Docker version 28.4.0, build d8eb465
- Fab-manager version: latest
masterbranch at the time of writing (rebuilt image manually as described in fabmanager container keeps restarting after production install - socket.error reported errno.EACCES #463)
Description of the problem
When running the standard installation script, the process aborts after all the ENV stuff was asked with:
[+] Creating 2/2
✔ Container fabmanager-postgres-1 Running 0.0s
✔ Container fabmanager-redis-1 Running 0.0s
[+] Running 1/1
✔ Container fabmanager-elasticsearch-1 Started 0.0s
rake aborted!
Errno::EISDIR: Is a directory @ io_fillbuf - fd:5 config/auth_provider.yml (Errno::EISDIR)
/usr/src/app/lib/provider_config.rb:7:in `initialize'
...
[ ❌ ] something went wrong while compiling the assets, exiting...
This corresponds to [issue #463](#463).
I then followed the suggested workaround from that issue (adjusted the Dockerfile, rebuilt the image locally).
Current behavior after rebuilding
Even after applying the fix and rebuilding, the container still fails to start.
This time the failure is inside supervisord due to log file permissions:
fabmanager-1 | Traceback (most recent call last):
fabmanager-1 | File "/usr/bin/supervisord", line 33, in <module>
fabmanager-1 | sys.exit(load_entry_point('supervisor==4.2.5', 'console_scripts', 'supervisord')())
...
fabmanager-1 | PermissionError: [Errno 13] Permission denied: '/var/log/supervisor/supervisord.log'
fabmanager-1 exited with code 1 (restarting)
The container keeps restarting with this error.
Steps to Reproduce
- Fresh Ubuntu 24.04 host
- Run installation script as far as possible
- Observe failure on first run (
EISDIRforauth_provider.yml) - Apply Dockerfile modification as described in fabmanager container keeps restarting after production install - socket.error reported errno.EACCES #463
- Rebuild image, run again
- Now the startup fails with
PermissionErroron/var/log/supervisor/supervisord.log
Expected Behavior
- The installation script should complete successfully on Ubuntu 24.04.
- Containers should start without manual intervention or permission errors.
Metadata
Metadata
Assignees
Labels
No labels