[Info] How to Create a SPK for Synology DSM to Distribute yo

This forum is for devlopers to discuss questions about apps/plug-ins/extension modules/API specifically developed for using with Synology DiskStations.
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

https://account.synology.com/support/support_form.php?lang=enu



2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
User avatar
amigoccs
Trainee
Trainee
Posts: 10
Joined: Fri Jan 24, 2014 8:25 am
Location: Taipei, Taiwan
Contact:

[Info] How to Create a SPK for Synology DSM to Distribute yo

Postby amigoccs » Sat May 17, 2014 8:17 am

Dear all,

I summarize my experience packaging ZurmoCRM for Synology DSM 5.0. It shall save your time if you want to build a LAMP package for DSM.

You might also be interested in the following two post related to DSM environment.

1. phpinfo() Reports on NAS

2. Synology DSM Configuration and Executable Files

Compared to Asustor APK, Synology provides Wizard to communicate with user during SPK installation. But the lack of complete information, example, and Asustor-like python script, you have to pack with tar and several trial-and-error. The 3rd Party Developer Guide.pdf from Synology just cover some of the keys and tags. Even worse, some of them are wrong or incompatible with DSM 5.0. Totally waste of time.

Here is a quick guide.

1. Download The 3rd Party Developer Guide.pdf and SPK file which is similar to your project. The later will help you to learn from others.

2. Create package.tgz which includes your LAMP application and necessary configuration and icon files to integrate with DSM.

3. Create a project folder contains package.tgz, INFO, icons, conf folder, and script folder. This is the most complicated part and is different from the PDF guide. For example, conf folder is described as optional in document but you will get error message if DSM cannot find it during installation.

If you need Wizard, please add WIZARD_UIFILE folder and related configuration files.

4. Compress with tar and upload to test if it works.

Detail explain in How to Create a SPK for Synology DSM to Distribute your LAMP

Wish it helps!

Best regards,

Amigo
I am currently self-employee providing CRM Consulting service and developing a Model Thinking Apps with Zen.

My recently project is to port ZurmoCRM onto Synology DSM platform.

http://tw.linkedin.com/in/amigochen/
HansM2013
I'm New!
I'm New!
Posts: 6
Joined: Wed Nov 01, 2017 9:22 am

Re: [Info] How to Create a SPK for Synology DSM to Distribute yo

Postby HansM2013 » Wed Jan 10, 2018 9:19 pm

Hi Amigo,

it seems like you are more experienced with these Synology packages than me. Could you take a look on the issue here: https://www.phpbb.com/community/viewtop ... p=14905876 and my github repository if you have time: https://github.com/SeppPenner/PhpBBFixMariaDB5Issue

Thanks in advance :)

Return to “Developer Discussion Room”

Who is online

Users browsing this forum: No registered users and 2 guests