DSM 6.0

42 views
Skip to first unread message

Pavel Zelenka

unread,
Mar 25, 2016, 8:41:00 AM3/25/16
to nagrestconf-users
Hi,

since DSM 6.0 has been released I'd like to ask if Synagios works with this version. If so are there any problems during upgrade of DSM?

Cheers

Pavel

Mark Clarkson

unread,
Mar 25, 2016, 5:45:28 PM3/25/16
to nagrestconf-users
Thanks for telling me! I looked a few days ago and it was still in beta, so I'm updating my diskstation now and I'll see how it goes. If I don't have to do anything I'll be really happy .. but this is the real world :)

Mark Clarkson

unread,
Mar 25, 2016, 10:42:52 PM3/25/16
to nagrestconf-users
After the upgrade everything works except one thing - using nagrestconf inside the DSM no longer works, so you need to open nagrestconf in a new window:

    http://diskstation:8888/nagrestconf

It seemed to work but I didn't test it fully. Nagios was working and logs looked okay.

Next, I uninstalled Synagios, then re-installed it again, and that didn't go too well.

It looks like synology have changed the tar options when the installer untars the files.
I'll have to fix the file permissions in the postinst script and release a new package.

Thanks the heads-up!


On Friday, 25 March 2016 12:41:00 UTC, Pavel Zelenka wrote:

Mark Clarkson

unread,
Mar 25, 2016, 11:31:27 PM3/25/16
to nagrestconf-users
I'll be adding the following to the postinst. This can be used directly on a freshly installed Synagios on DSM 6.

chown www-data:www-data /etc/nagios3/objects/local
chown -R www-data:www-data /etc/nagios3/objects/local/setup
chown -R www-data:www-data /etc/nagios3/objects/local/setup.known_good
chown www-data:root /run/lock/apache2
chown Debian-exim:Debian-exim /run/exim4
chown nagios:nagios /run/nagios3
chown www-data:www-data /usr/share/nagrestconf/htdocs/nagrestconf/download
chown -R www-data:www-data /usr/share/nagrestconf/htdocs/nagrestconf/upload
chown -R man:root /var/cache/man
chown www-data:www-data /var/cache/apache2/mod_cache_disk
chown nagios:www-data /var/cache/nagios3
chown nagios:nagios /var/lib/nagios3
chown nagios:nagios /var/lib/nagios3/spool
chown nagios:nagios /var/lib/nagios3/spool/checkresults
chown nagios:www-data /var/lib/nagios3/rw
chown nagios:nagios /var/lib/nagios
chown nagios:www-data /var/lib/pnp4nagios
chown -R nagios:nagios /var/lib/pnp4nagios/perfdata
chown -R Debian-exim:adm /var/log/exim4
chown nagios:adm /var/log/nagios3
chown -R nagios:adm /var/log/nagios3/archives
chown nagios:www-data /var/log/pnp4nagios
chown nagios:nagios /var/log/pnp4nagios/stats
chown Debian-exim:Debian-exim /var/spool/exim4
chown Debian-exim:Debian-exim /var/spool/exim4/db
chown Debian-exim:Debian-exim /var/spool/exim4/input
chown Debian-exim:Debian-exim /var/spool/exim4/msglog
chown nagios:nagios /var/spool/pnp4nagios
chown nagios:nagios /var/spool/pnp4nagios/npcd
chown nagios:nagios /var/spool/pnp4nagios/nagios
chown www-data:www-data /var/tmp/nagctl.output.tmp

Cheers
Mark


On Friday, 25 March 2016 12:41:00 UTC, Pavel Zelenka wrote:

Pavel Zelenka

unread,
Mar 26, 2016, 5:16:02 AM3/26/16
to nagrestconf-users
Thanks for your great work Mark. 
Unfortunatelly I found that DSM 6.0 causes problems with other packages that I use. So I decided to wait with the update and will observe the situation.

Cheers

Pavel

Dne sobota 26. března 2016 4:31:27 UTC+1 Mark Clarkson napsal(a):

Mark Clarkson

unread,
Mar 26, 2016, 4:15:04 PM3/26/16
to nagrestconf-users
I've uploaded new packages for Synology DSM 6, x86 and arm. These include the latest nagrestconf with a few extra fixes.
Reply all
Reply to author
Forward
0 new messages