for v4, you should create a a symlink from ~/.tiny-media-manager/native to /usr/share/tinyMediaManager/native too (otherwise loading of some native libs won't work)
EDIT: you should symlink the version file too (otherwise upgrade tasks may fail)
for v5 you should probably re-think your approach, because I think the new setup won't work with the current shellscript (needs to be tested in either case). We do offer start parameters which tells tmm to be in a "read only" dir and writing everything to a "content" folder (-Dtmm.contentfolder) - see https://gitlab.com/tinyMediaManager/tinyMediaManager/-/blob/v5/src/main/java/org/tinymediamanager/Globals.java#L52
Pinned Comments
simon04 commented on 2020-10-05 06:55 (UTC)
tinyMediaManager v4 changed to a subscription based license model, see https://www.tinymediamanager.org/blog/version-4-0/
tinyMediaManager v3 is provided by https://aur.archlinux.org/packages/tiny-media-manager-3/