Since Libresonic has been deprecated in favor of Airsonic, I’m currently attempting to pack the latter, using the installer of Libresonic as a base. However, the installer is still not working, probably because the data structure differs between each other.
Hello csolisr, the better thing to start would be probably to have a look at the example package. And try to do as its install script. That’ll spare you any common mistakes.
Here you said that you’re install script doesn’t work, but what are the errors or symptoms ?
well, what helped me to start is to learn create a virtual machine with Debian 8 + YunoHost, having an easy way to copy/paste my package and using the great package_check (https://github.com/YunoHost/package_check). Then start by following the example package as Maniack suggested.
This really changes everything.
Process is easy:
Under Linux, I use “Virtual Machine Manager”, and created a virtual machine with it
I changed my “hosts” file and added the link: 192.168.100.186 jb.frw.jb.fr
I installed and up-to-date YunoHost on it
In my Files manager, I added a link to the server using ssh: ssh://admin@jb.fr it looks like
Copy paste the package_check code and your package
Run your tests: ./package_check/package_check.sh airsonic_ynh
I began to work on an airsonic package and was not aware of your package so I started from scratch in a sandbox.
If you want to have a look and maybe participate, I can publish it soon as it can be installed and removed.
I have a few questions for you as you have experience on this application
I went for the “standalone” version of airsonic as it seems lighter and a simpler setup. What do you think about this?
Have you been able to make airsonic to handle Yunohost users (LDAP integration) ? I am able to see Yunohost users in the airsonic admin panel but I cannot loggin with them. Airsonic logs are really poor with this kibd of error
The main issue I have is with package_check as it cannot test the package properly. The install step fails while it works on a real server. I might have to dig more about this.
Hello,
I personally was able to integrate libresonic (https://github.com/YunoHost-Apps/libresonic_ynh) with yunohost LDAP but not airsonic. Looks like api changed and I was not able to set LDAP correctly with airsonic API.
Idea is to create airsonic admin user via api and tell airsonic to use LDAP as authentication instead of default system.
I’m interested also to migrate to airsonic since libresonic is no more supported. Let me know if I can help.
About standalone or tomcat I think both methods can work. I was using subsonic before with standalone server and now libresonic with tomcat sever. Standalone might be lighter yes.