Article ID:
8131
Reviewed:
2023-03-15
Product Version:
AhsayCBS: 8.5.2.106 - 8.5.2.141
OS: Synology DSM 7
Ahsay Backup Software Version 8 will enter End-of-Life (EOL) stage on 1st June, 2023 (Link). Upgrade your CBS to v8.7 (or v9) and follow the workaround instructions (Link).
===== Description =====
For customers currently running minimum v8.5.2.106 (base) AND latest CBS v8.5.2, we have a workaround that allows your users running Synology DSM 7 to install AhsayOBM.
This workaround applies to base release v8.5.2.106. If your CBS is lower than this base version you will need to first upgrade and then apply the CBS hotfix. CBS installer download available from www.ahsay.com.
NOTE: For branded CBS or branded Sub Admin sites, you must first complete Rebuild Client before proceeding.
Q: How to tell if you have this base version?
A1: Login to your CBS Admin Web Console, click on License, then scroll down to read the Product Version.
A2: In your CBS Installation Directory, check the “version.txt”, should be v8.5.2.106 to v8.5.2.x.
Skill Level:
Intermediate, does require manual effort to repackage the OBM Synology SPK installer file using a staging PC as instructed in below procedure.
Task Time:
Average 10-15 minutes
Pre-Requisites to prepare the workaround:
• 7z / 7zip (https://www.7-zip.org)
• Text editor
Note:
Workaround steps to be completed by CBS Admin:
1. Download and save the OBM Synology SPK file from your CBS, to your local PC.
2. Open saved file using 7z application by "Open archive" function
3. Copy INFO file from the SPK file, to local disk
4. Delete INFO file from SPK file using 7z application
5. Using text editor, open INFO file,
a. At the end of file, add the following line:
os_min_ver="7.0-40000"
b. Copy the string value of "package" and edit the line of "dsmuidir":
find this line package="AhsayOBM" copy string value AhsayOBM find this line dsmuidir="ui" edit to dsmuidir="%package%:obm/wui" (where %package% is replaced with the string value from the 'package' line) Example: dsmuidir="AhsayOBM:obm/wui"
c. Save file
6. Drag updated INFO file, from local disk into the 7z window (SPK file)
7. Download and unzip following files from https://download.ahsay.com/support/30215/AhsayCBS852106DSM7addendum.zip
privilege
postinst
package.tgz
8. Replace package.tgz file from local disk into SPK file.
9. Still in 7z window, open conf folder, then drag to add the privilege file from local disk into SPK file.
10. In the 7z window, open scripts folder,
a. Delete postinst from the 7z window
b. Drag to add the postinst file from local disk into SPK file.
11. Close the modified SPK file (Save changes if prompted)
12. As the CBS Admin, you’ll need to distribute the modified SPK to your DSM 7 users.
NOTE: Not recommend to overwrite either %CBSHOME%/download/ , or %CBSHOME%/system/cbs/Installers/{dir}/
(Optional Steps)
If you will redistribute the modified SPK and need a way for your users to manually download the modified SPK, you can consider the following:
1) Save the modified SPK (example filename: obm852-dsm7.spk) into your CBS’s path: %CBSHOME%\webapps\ROOT\obm852-dsm7.spk
NOTE: When upgrading to future CBS base version, you need to remove this file from circulation as it would be deemed outdated.
Default Windows C:\Program Files\AhsayCBS\webapps\ROOT\obm852-dsm7.spk Default Linux /usr/local/cbs/webapps/ROOT/obm852-dsm7.spk
NOTE: For CBS sites with several branded Sub Admin, you need to save as unique filenames.
2) You inform your users to download it from https://yourCBS.domain.com/obm852-dsm7.spk
3) After download, they can follow normal installation procedures.
DSM 7 User:
1. Transfer the modified SPK to your machine that will access the DSM Console.
Example, download from https://yourCBS.domain.com/obm852-dsm7.spk
2. Install the application with the updated SPK, follow normal installation procedures.
NOTE: Modified SPK cannot be used on older DSM. Will fail install.
3. Run application and perform desired actions, such as backup and restore
Addendum:
When performing Backup or Restore, Insufficient Permissions might be encountered.
For share folders, grant read (for backup) and write (for restore) permission to application, read this Document
OBM, Update, Workaround, DSM, Synology, DSM7, CBS852, 8.5.2