RalfPeter
Benutzer
- Registriert
- 02. Apr. 2014
- Beiträge
- 448
- Reaktionspunkte
- 49
- Punkte
- 34
Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.
Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.
Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier
Now I see a "package" in the list with the name @database.
root@SENNA:~# cd /volume1/@userpreference
root@SENNA:/volume1/@userpreference# tree
.
├── admin
│ ├── appnotify
│ ├── appnotify.lock
│ └── emailaccount.db
├── @administrators
├── Contacts
├── Dave
│ ├── activities
│ ├── appnotify
│ ├── appnotify.lock
│ ├── bkgtask
│ ├── emailaccount.db
│ ├── loginservice.db
│ ├── SynoFinder
│ └── usersettings
├── guest
├── MinimServer
│ ├── appnotify
│ └── appnotify.lock
├── root
├── system
├── SYSTEM_ADMIN
└── Virtualization
├── appnotify
└── appnotify.lock
11 directories, 15 files
When i moved some php and python packages, many services were stoped, but nnot restarted after the moving. It's not really a problem, i think an advice in the doc would help to not forget to start all services after basic packages had been moved.

and i did not find any documentation for the CLI commandline tools). I deleted my own folders from the list:[ volume1 14.86 TiB ]
├─ @synoelasticd.core │ │ 0% 4.12 GiB
├─ @ActiveInsight │ │ 0% 3.68 GiB
├─ @synovpcd.core │ │ 0% 2.80 GiB
├─ @eaDir │ │ 0% 1.97 GiB
├─ @synoaudiod.core │ │ 0% 1.20 GiB
├─ @database │ │ 0% 701.67 MiB
├─ @appstore │ │ 0% 364.19 MiB
├─ @clamav │ │ 0% 88.09 MiB
├─ @dms.core │ │ 0% 86.37 MiB
├─ @rspamd.core │ │ 0% 63.00 MiB
├─ @resource-monitor │ │ 0% 53.44 MiB
├─ @httpd.core │ │ 0% 52.79 MiB
├─ @syslog-ng.core │ │ 0% 42.27 MiB
├─ @ssactruled.core │ │ 0% 41.08 MiB
├─ @optware │ │ 0% 37.01 MiB
├─ @synoelasticd.core.gz │ │ 0% 27.70 MiB
├─ @CompositorTileW.core. │ │ 0% 25.43 MiB
├─ @ssrotated.core │ │ 0% 19.05 MiB
├─ @synopkg.core │ │ 0% 13.11 MiB
├─ @syno_set_config.core │ │ 0% 12.24 MiB
├─ @SYNO.VideoStati.core │ │ 0% 10.20 MiB
├─ @rspamd.core.gz │ │ 0% 9.76 MiB
├─ @synoaudiod.core.gz │ │ 0% 9.54 MiB
├─ @synovideometada.core. │ │ 0% 9.22 MiB
├─ @ffmpeg27.core.gz │ │ 0% 8.29 MiB
├─ @thread2.core.gz │ │ 0% 7.57 MiB
├─ @tmp │ │ 0% 6.82 MiB
├─ @SYNO.ContactAnd.core │ │ 0% 6.71 MiB
├─ @surveillance │ │ 0% 6.10 MiB
├─ @SynoFinder-log │ │ 0% 5.63 MiB
├─ @WTCheck.tThread.core. │ │ 0% 4.61 MiB
├─ @builtin-dyn-aut.core │ │ 0% 4.59 MiB
├─ @synoscim │ │ 0% 4.33 MiB
├─ @ssbackup │ │ 0% 3.67 MiB
├─ @SYNO.FolderShar.core │ │ 0% 3.62 MiB
├─ @facerecognition.core │ │ 0% 3.62 MiB
├─ @SYNO.Core.Packa.core │ │ 0% 2.59 MiB
├─ @smbd.core │ │ 0% 2.22 MiB
├─ @synophoto-bin-t.core │ │ 0% 1.91 MiB
├─ @sswebstreamd.core.gz │ │ 0% 1.66 MiB
├─ @synoaic_monitor.synol │ │ 0% 1.45 MiB
├─ @appdata │ │ 0% 1.39 MiB
├─ @snmpd.synology_v1000_ │ │ 0% 1.35 MiB
├─ @httpd.synology_v1000_ │ │ 0% 1.29 MiB
├─ @SYNO.SynologyDr.core. │ │ 0% 1.19 MiB
├─ @convert.synology_v100 │ │ 0% 1.16 MiB
├─ @synocalendar │ │ 0% 1.16 MiB
├─ @sshd.core │ │ 0% 680.00 KiB
├─ @SYNO.ContactAnd.core. │ │ 0% 671.09 KiB
├─ @synofoto-bin-mi.synol │ │ 0% 664.52 KiB
├─ @config_backup │ │ 0% 654.00 KiB
├─ @SYNO.Core.UserS.core. │ │ 0% 604.53 KiB
├─ @ffmpeg.synology_v1000 │ │ 0% 592.67 KiB
├─ @synocontentextr.synol │ │ 0% 589.97 KiB
├─ @doveadm.synology_v100 │ │ 0% 534.30 KiB
├─ @synofoto-bin-re.synol │ │ 0% 490.79 KiB
├─ @pkg-SynologyMom.core. │ │ 0% 396.23 KiB
├─ @userpreference │ │ 0% 301.76 KiB
├─ @imap.core.gz │ │ 0% 296.36 KiB
├─ @appconf │ │ 0% 183.59 KiB
├─ @apphome │ │ 0% 84.00 KiB
├─ @download_backup │ │ 0% 74.42 KiB
├─ @gpg.core.gz │ │ 0% 68.77 KiB
├─ aquota.user │ │ 0% 66.00 KiB
├─ @S2S │ │ 0% 53.17 KiB
├─ @appshare │ │ 0% 52.00 KiB
├─ aquota.group │ │ 0% 47.00 KiB
├─ @MailScanner │ │ 0% 33.02 KiB
├─ @quarantine │ │ 0% 20.00 KiB
├─ lost+found │ │ 0% 16.00 KiB
├─ @SynoFinder-etc-volume │ │ 0% 15.59 KiB
├─ @spool │ │ 0% 12.16 KiB
├─ NetBackup │ │ 0% 12.00 KiB
├─ @img_bkp_cache │ │ 0% 12.00 KiB
├─ @SynoDrive │ │ 0% 8.00 KiB
├─ synoquota.db │ │ 0% 5.00 KiB
├─ @syno_rbd │ │ 0% 4.00 KiB
├─ @apptemp │ │ 0% 4.00 KiB
├─ @iSCSI │ │ 0% 4.00 KiB
├─ @ipkgui_archive │ │ 0% 4.00 KiB
├─ @synoconfd │ │ 0% 4.00 KiB
├─ @maillog │ │ 0% 4.00 KiB
├─ @docker_backup │ │ 0% 4.00 KiB
├─ @AntiVirus │ │ 0% 4.00 KiB
├─ @docker │ │ 0% 4.00 KiB
└─ @download │ │ 0% 4.00 KiB
I meant packages ... not servicesWas it some packages or some services that weren't restarted?

[
@appstore 364.19 MiB ]
├─ Java7 │ ████████████████████████████████│ 80% 294.91 MiB
│ ├─ j2sdk-image │ ░███████████████████████████████│ 99% 293.01 MiB
│ ├─ indexdb │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ 0% 1.42 MiB
│ └─ ui │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│ 0% 483.23 KiB
├─ JDownloader-test │ ██████│ 18% 67.75 MiB
│ ├─ jd │ ░░░░░█│ 39% 26.46 MiB
│ ├─ libs │ ░░░░░░│ 23% 16.10 MiB
│ ├─ Core.jar │ ░░░░░░│ 10% 7.27 MiB
│ ├─ translations │ ░░░░░░│ 8% 6.06 MiB
│ ├─ logs │ ░░░░░░│ 7% 5.20 MiB
│ ├─ JDownloader.jar │ ░░░░░░│ 4% 2.94 MiB
│ ├─ themes │ ░░░░░░│ 2% 1.62 MiB
│ ├─ licenses │ ░░░░░░│ 0% 524.23 KiB
│ ├─ update │ ░░░░░░│ 0% 505.35 KiB
│ ├─ extensions │ ░░░░░░│ 0% 445.87 KiB
│ ├─ tmp │ ░░░░░░│ 0% 400.79 KiB
│ ├─ tools │ ░░░░░░│ 0% 176.05 KiB
│ ├─ license_german.txt │ ░░░░░░│ 0% 38.70 KiB
│ ├─ license.txt │ ░░░░░░│ 0% 31.28 KiB
│ ├─ cfg │ ░░░░░░│ 0% 28.56 KiB
│ ├─ java │ ░░░░░░│ 0% 4.00 KiB
│ └─ build.json │ ░░░░░░│ 0% 320 B
├─ WordPress │ │ 0% 925.27 KiB
│ ├─ indexdb │ │ 78% 730.34 KiB
│ ├─ ui │ │ 17% 159.60 KiB
│ ├─ desktop │ │ 2% 21.36 KiB
│ └─ synology_added │ │ 1% 9.97 KiB
├─ adminer │ │ 0% 439.65 KiB
│ ├─ share │ │ 94% 413.53 KiB
│ └─ app │ │ 5% 22.12 KiB
├─ Init_3rdparty │ │ 0% 137.62 KiB
│ ├─ app │ │ 60% 82.94 KiB
│ ├─ php56 │ │ 20% 28.58 KiB
│ └─ php70 │ │ 16% 22.11 KiB
└─ cronjobeditor │ │ 0% 62.32 KiB
├─ images │ │ 31% 19.45 KiB
├─ editcron.php │ │ 23% 14.66 KiB
├─ newcron.php │ │ 12% 7.72 KiB
├─ cronjob.php │ │ 9% 5.62 KiB
├─ include │ │ 8% 5.49 KiB
├─ setcron.php │ │ 7% 4.81 KiB
├─ config │ │ 0% 397 B
└─ application.cfg │ │ 0% 191 B
Looks like this option was not implemented until nowI am going to add the choice of moving all packages at once to the script.


Real life always comes firstI've had a few requests recently for a "move all" option but at the moment I'm busy getting ready to move to a new home. I've already packed my DS720+ which is what I use to develop the app mover script. It will be 4 weeks from now before I can start on updating app mover.

This is of course exactly what I did last time I used your script, and that's also why I asked for a "move all" optionThe apps that can be moved are sorted by volume number then name. So if you are moving all apps from volume 2 to volume 1 just keep selecting the last app (by entering 35) and volume 1 (by entering 1) until there's no more apps left on volume 2.
- Launch the script.
- Enter 35, 1, y
- Up-arrow, Enter 35, 1, y
- Repeat step 3 until all apps show volume 1.

It only asks for re-starting a package if the script stopped that package. If stop all packages in package center then run the script it will skip starting the package.Unfortunately, the script always asks for re-starting the package, so it's one more "y".
Also, it would be great in case the script would not stop after every move, but just steps back to the "main menu".
exec "${scriptpath}/$scriptfile"
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.