On a fresh build of 2.0 I am trying to install subsonic through the plugin, but I get errors and it doesn't install.
Here's what I've done:
Installed openmediavault-subsonic 1.0.8
Go to Services\Subsonic, spinning circle for a second and then I will randomly get 1 of 2 errors or no error
Error 1:
Failed to execute command 'omv-mkconf subsonic getsettings': /etc/openmediavault/config.xml:1.1: Document is empty ^ /etc/openmediavault/config.xml:1.1: Start tag expected, '<' not found ^
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'omv-mkconf subsonic getsettings': /etc/openmediavault/config.xml:1.1: Document is empty
^
/etc/openmediavault/config.xml:1.1: Start tag expected, '<' not found
^' in /usr/share/openmediavault/engined/rpc/subsonic.inc:67
Stack trace:
#0 [internal function]: OMVRpcServiceSubsonic->getSettings(NULL, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getSettings', NULL, Array)
#3 /usr/sbin/omv-engined(500): OMVRpc::exec('Subsonic', 'getSettings', NULL, Array, 1)
#4 {main}
Alles anzeigen
Error 2:
Failed to execute command 'omv-mkconf subsonic getsettings': /etc/openmediavault/config.xml:815.21: Comment not terminated
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'omv-mkconf subsonic getsettings': /etc/openmediavault/config.xml:815.21: Comment not terminated
<everyndayofmon
^
/etc/openmediavault/config.xml:815.21: Premature end of data in tag jobs line 800
<everyndayofmon
^
/etc/openmediavault/config.xml:815.21: Premature end of data in tag rsync line 766
<everyndayofmon
^
/etc/openmediavault/config.xml:815.21: Premature end of data in tag services line 437
<everyndayofmon
^
/etc/openmediavault/config.xml:815.21: Premature end of data in tag config line 2
<everyndayofmon
^' in /usr/share/openmediavault/engined/rpc/subsonic.inc:67
Stack trace:
#0 [internal function]: OMVRpcServiceSubsonic->getSettings(NULL, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getSettings', NULL, Array)
#3 /usr/sbin/omv-engined(500): OMVRpc::exec('Subsonic', 'getSettings', NULL, Array, 1)
#4 {main}
Alles anzeigen
If I click OK on the error, one of two things will happen:
1. the port is 4040, the Version info is blank, and the Normal/Beta install buttons are NOT there.
2. the port is 0, the Version Info says "No version is installed yet, click the update button for the version you require", and the Update buttons are there
If I view the /etc/openmediavault/config.xml file, it has a subsonic section with the port as 0 and msg as No version is installed yet
If I click on Normal Update, I get the confirmation asking if I want to Update/Downgrade SubSonic, I click OK, the spinning circle says Loading, then nothing happens, I'm back to the plugin screen, it doesn't install.
I've tried uninstalling/reinstalling at least 10 times. I thought maybe it was a permissions issue and I set rwx for all users on the config.xml file, but that made no difference.
If I SSH in and do a ls -l /tmp there will be a subsonic-5.2.1 file in there (NOT a .deb file) This only shows up after I click on Normal Update
-rw-rw-rw- 1 root root 49092 Aug 28 20:35 subsonic-5.2.1
*UPDATE*
If I click on Beta Update, nothing happens, but if I do a ls -l /tmp, I can see a subsonic-5.3.beta2.deb file being downloaded, and then it does install (with no notification). Version info gets updated to "Current version is 5.3.beta2, there is no new update available."
I still get errors opening the Subsonic service, but I am able change the port and enable the service with Beta installed
tldr - I get errors almost every time I click on the Subsonic service section (9 times out of 10) and Normal Update does not work. Beta Update does, but it's a silent install.