ppngx icon indicating copy to clipboard operation
ppngx copied to clipboard

paperless-ngx won't start since samba feature

Open rmxb1t opened this issue 7 months ago • 2 comments

podman create secret --replace samba-config - -> Error: unknown flag: --replace See 'podman secret create --help'

just removing --replace from the command fixes the issue temporarily but the smb container won't start tried manually checking about the secret and removing it before the start but that didn't work either. smb container always exits any idea?

edit: paperless-webserver start error was my fault

rmxb1t avatar May 22 '25 21:05 rmxb1t

Hey @gardar any ideas here?

jdoss avatar Jun 07 '25 04:06 jdoss

Hmm yeah looks like on some older versions of rodman --replace fails if the secret doesn't already exist, this was fixed here: https://github.com/containers/common/pull/1909

A quick fix would be to just create the secret once manually, then subsequent runs of the script should work without issues. A proper fix would probably be to implement some logic in the script to conditionally apply the --replace flag. Personally I'd just try to get my podman up to date 🙂

gardar avatar Jun 07 '25 13:06 gardar