distrobox.conf causes distroboxes to not launch after latest system update

I have a ublue-fedora-distrobox one and bazzite-arch one, and I just updated my system, and both are now saying this instead of launching:
Error: unknown flag: --env TRILIUM_DATA_DIR
See 'podman exec --help'
Error: unknown flag: --env TRILIUM_DATA_DIR
See 'podman exec --help'
This is what I have in my distrobox.conf
container_manager_additional_flags="--env TRILIUM_DATA_DIR=/var/mnt/ssd/Notes/Trilium"
container_manager_additional_flags="--env TRILIUM_DATA_DIR=/var/mnt/ssd/Notes/Trilium"
If I remove it they launch but now I can't set trillium-next data folder. This used to work before update
12 Replies
asen23
asen232w ago
what does the flag do and why you require it
1
1OP2w ago
it makes my trillium store my notes in that path that I specified
asen23
asen232w ago
do you need to set it in distrobox conf? why not set it from your rc file
1
1OP2w ago
I just picked the first path that I could find in my system from there https://github.com/89luca89/distrobox?tab=readme-ov-file#configure-distrobox but I will try moving it into the ${HOME}/.distroboxrc one
GitHub
GitHub - 89luca89/distrobox: Use any linux distribution inside your...
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available...
asen23
asen232w ago
not distroboxrc, but your bashrc or zshrc or maybe .profile
1
1OP2w ago
oh I tried but it caused an error I don't remember what it was I just couldn't find how to do it
asen23
asen232w ago
try again and post the error also which application need this?
1
1OP2w ago
I think I remember that there was no error and I added this to end of bashrc export VARNAME="my value" and it just didn't work but I will try again triliumnext-bin
asen23
asen232w ago
if it doesnt work try /etc/environment put TRILIUM_DATA_DIR=/var/mnt/ssd/Notes/Trilium without export also i saw it have docker, usually its better to run that compared to distrobox
1
1OP2w ago
wouldn't that disable itself after reboot because its immutable? I think docker is more heavy but I haven't looked into it its like a full os
asen23
asen232w ago
after update probably, but not reboot distrobox should be more heavier, they use the same tech underneath but distrobox have more integration
1
1OP5d ago
nice i think it worked

Did you find this page helpful?