Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODS package manager not supported bij DSM 7 #43

Open
PJThys opened this issue Aug 11, 2021 · 6 comments
Open

MODS package manager not supported bij DSM 7 #43

PJThys opened this issue Aug 11, 2021 · 6 comments

Comments

@PJThys
Copy link

PJThys commented Aug 11, 2021

I used MODS package manager to move my packages to a different drive because a drive was starting to fail. After replacing the drive I moved them back. Worked like a charm. After updating DSM to version 7 MODS package manager is not supported anymore. Is this easy to fix?

@vletroye
Copy link
Owner

Hello.

Good to know that this package helped ;)

Unfortunately, it won't be easy to make it compatible with DSM 7 due to the many security restrictions in place within that version (A.o. the packages may not run anymore as admin, hence the lack of access rights to do many operations). I did some attempts to execute the command as admin via SSH. It works but it's not "clean" as one as to enter the admin password and this one is stored.... I would need more free time to search for a proper way to do this...

@PJThys
Copy link
Author

PJThys commented Aug 12, 2021 via email

@gibboireland
Copy link

Ditto for me - would really be great if this could be resolved, even in a "messy" state as over-complicated to move packages without it! Thanks :)

@Hurray0
Copy link

Hurray0 commented Oct 10, 2022

Hello.

Good to know that this package helped ;)

Unfortunately, it won't be easy to make it compatible with DSM 7 due to the many security restrictions in place within that version (A.o. the packages may not run anymore as admin, hence the lack of access rights to do many operations). I did some attempts to execute the command as admin via SSH. It works but it's not "clean" as one as to enter the admin password and this one is stored.... I would need more free time to search for a proper way to do this...

It would be ok for me to enter admin password via SSH as I really desire package move in DSM7.

I have SynologyPhoto installed on volume1 ssd and real photo data in home store path on volume2 hdd.
As ssd has no raid, I want to move Photo app to volume2. If I remove Photo app and reinstall it on volume2, my settings like album and human faces will lose. If no such package manager tool available, is it possible to provide a way for me to do such job? (I'm able to use SSH and have admin privilege)

@vletroye
Copy link
Owner

vletroye commented Oct 11, 2022

This script can be user (as root) to move a "simple" package on DSM 7

Syntax to move: ./mv.sh 'target volume' 'package name'
Syntax to list all packages: ./mv.sh list

I tried it successfuly on the package "File Browser" from the Syno Community but also on the "Synology Photo" application. That being said: really at your own risks !!! I didn't test it extensively. I strongly advice you to test it in a Virtual Synology first (Xpenology: see a how to here)

@PJThys
Copy link
Author

PJThys commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants