Page 1 of 1

XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 20 Jun 2019 01:59
by zoon01
We are pleased to announce the release of XigmaNAS version 11.2.0.4.6766 - Omnius.

First BACKUP your current Configuration!
READ readme_11.2.txt please before you do anything!

Download build 11.2.0.4.6766

Changes after release 11.2.0.4.6743
===================================
- Update translations.
- WebGUI code & framework improvements.
- Add loglevel for sshd.
- Use external ldb 1.3.8.
- Upgrade nano to 4.3.
- Upgrade bsnmp-ucd to 0.4.3.
- Upgrade mariadb to 10.2.25.

fixes:
===
- Fix set correct file permissions.

Basic Note:
- Make a new backup of your system configuration and store this on safe location, the system config.xml could be upgraded!
- Clear your browser's cache to avoid display issues after upgrade when coming from older release.

Regards,
Team XigmaNAS

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 20 Jun 2019 02:45
by provels
Upgraded from 6743 without issue. Thanks to all the devs.

Will v.11 become obsoleted by v.12 soon?

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 20 Jun 2019 02:54
by zoon01
provels wrote:
20 Jun 2019 02:45
Upgraded from 6743 without issue. Thanks to all the devs.

Will v.11 become obsoleted by v.12 soon?
v.11.x become obsoleted by v.12.x one day, we have not set a time/date yet,
for now we support both versions, v11 is pretty stable, v12.0 needs some time and later on a 12.1 release.
We will see how it goes, users do not have to rush to switch.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 20 Jun 2019 03:13
by provels
zoon01 wrote:
20 Jun 2019 02:54
v.11.x become obsoleted by v.12.x one day, we have not set a time/date yet,
for now we support both versions, v11 is pretty stable, v12.0 needs some time and later on a 12.1 release.
We will see how it goes, users do not have to rush to switch.
Only curious. I've been with you since 9..x with my antique HP server. Thanks again.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 24 Jun 2019 11:27
by biggsy
Attempting to use File Manager in the last two 11. releases (6743 & 6766) I have encountered the following error:

Code: Select all

Parse error: syntax error, unexpected ',', expecting ']' in /usr/local/www/quixplorer/_config/.htusers.php on line 7 
The first time I saw this, in 6743, I tracked it down to a missing comma at the end of line 6 - the entry for root and fixed it then. I had never edited this file before.

Unfortunately, I don't know when the error might have been introduced because I don't use File Manager very often but it has returned in 6766.

6 ['root','redacted stuff here.Wy1','/','http://localhost',1,'',32847,1]comma missing here
7 ['','','/','http://localhost',1,'',32847,1],
8 ['root','','/','http://localhost',1,'',32847,1]
9 ];
10 ?>

Please let me know if there is any more information needed.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 24 Jun 2019 19:31
by ms49434
biggsy wrote:
24 Jun 2019 11:27
Attempting to use File Manager in the last two 11. releases (6743 & 6766) I have encountered the following error:

Code: Select all

Parse error: syntax error, unexpected ',', expecting ']' in /usr/local/www/quixplorer/_config/.htusers.php on line 7 
The first time I saw this, in 6743, I tracked it down to a missing comma at the end of line 6 - the entry for root and fixed it then. I had never edited this file before.

Unfortunately, I don't know when the error might have been introduced because I don't use File Manager very often but it has returned in 6766.

6 ['root','redacted stuff here.Wy1','/','http://localhost',1,'',32847,1]comma missing here
7 ['','','/','http://localhost',1,'',32847,1],
8 ['root','','/','http://localhost',1,'',32847,1]
9 ];
10 ?>

Please let me know if there is any more information needed.
- please run /etc/rc.d/fmperm and post the output of /usr/local/www/quixplorer/_config/.htusers.php, wrapped in 'code' tags and hashed passwords stripped.
- please edit and immediately save a user record in Tools > File Manager > Admin and post the output of /usr/local/www/quixplorer/_config/.htusers.php, wrapped in 'code' tags and hashed passwords stripped.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 24 Jun 2019 23:58
by biggsy
Content of /usr/local/www/quixplorer/_config/.htusers.php after running /etc/rc.d/fmperm:

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
  ['','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>
After adding new user 'test':

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['test','','/mnt','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
  ['','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>
Thanks for looking at this.

EDIT - I'm fairly sure that I had the missing comma in place on line 6 before I ran /etc/rc.d/fmperm.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 00:53
by ms49434
biggsy wrote:
24 Jun 2019 23:58
Content of /usr/local/www/quixplorer/_config/.htusers.php after running /etc/rc.d/fmperm:

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
  ['','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>
After adding new user 'test':

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['test','','/mnt','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
  ['','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>
Thanks for looking at this.

EDIT - I'm fairly sure that I had the missing comma in place on line 6 before I ran /etc/rc.d/fmperm.
The issue is caused by the remote syslog server configuration when checkbox "Send system event messages." is enabled.
If you are forwarding syslog messages to a remote syslog server, could you please disable the above checkbox, select save and rerun the test?
If you are not forwarding syslog messages, the above checkbox is hidden. Please enable the service (to unhide the checkbox), uncheck the checkbox, uncheck enable service, save the setting and rerun the test.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 02:00
by biggsy
Sorry, I forgot to repeat the add a new user step.

Here's the sanitized .htusers.php before unchecking "Send system event messages.":

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['test','','/mnt','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
  ['','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>
. . . and after :

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['test','','/mnt','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 02:16
by ms49434
biggsy wrote:
25 Jun 2019 02:00
Sorry, I forgot to repeat the add a new user step.

Here's the sanitized .htusers.php before unchecking "Send system event messages.":

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['test','','/mnt','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
  ['','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>
. . . and after :

Code: Select all

<?php
$GLOBALS["users"] = [
  ['David','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['Phil','','/mnt/POOL1','http://localhost',0,'^.ht',17,1],
  ['test','','/mnt','http://localhost',0,'^.ht',17,1],
  ['admin','','/','http://localhost',1,'',32847,1],
  ['root','','/','http://localhost',1,'',32847,1]
];
?>
Many thanks for testing, a bug fix has been developed and has been committed:
6773 - loop is not needed and
6774 - rename field 'system' to 'sendsystemeventmessages' to avoid xpath issues

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 02:25
by biggsy
Thank you, ms49434, for finding and fixing this so quickly.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 12:52
by jamaroney
ms49434 wrote:
25 Jun 2019 00:53
If you are not forwarding syslog messages, the above checkbox is hidden. Please enable the service (to unhide the checkbox), uncheck the checkbox, uncheck enable service, save the setting and rerun the test.
I had the same problem w/ 6766 - the instructions above yielded no success. I then went into the .htusers.php and added the necessary comma, and all is now OK w/ File manager.

I have an embedded install - I assume that if if the system is rebooted, I will again have to go to that file and add the comma?

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 13:16
by ms49434
jamaroney wrote:
25 Jun 2019 12:52
ms49434 wrote:
25 Jun 2019 00:53
If you are not forwarding syslog messages, the above checkbox is hidden. Please enable the service (to unhide the checkbox), uncheck the checkbox, uncheck enable service, save the setting and rerun the test.
I had the same problem w/ 6766 - the instructions above yielded no success. I then went into the .htusers.php and added the necessary comma, and all is now OK w/ File manager.

I have an embedded install - I assume that if if the system is rebooted, I will again have to go to that file and add the comma?
Please do a search for <system> in config.xml and report back the number of occurences. If the result is not 1, please report the xml hierarchy of the found tags, i.e. <xigmanas><system>.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 13:47
by jamaroney
ms49434 wrote:
25 Jun 2019 13:16

Please do a search for <system> in config.xml and report back the number of occurences. If the result is not 1, please report the xml hierarchy of the found tags, i.e. <xigmanas><system>.
"<system>" occurs only once.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 25 Jun 2019 15:59
by jamaroney
jamaroney wrote:
25 Jun 2019 12:52
ms49434 wrote:
25 Jun 2019 00:53
If you are not forwarding syslog messages, the above checkbox is hidden. Please enable the service (to unhide the checkbox), uncheck the checkbox, uncheck enable service, save the setting and rerun the test.
I had the same problem w/ 6766 - the instructions above yielded no success. I then went into the .htusers.php and added the necessary comma, and all is now OK w/ File manager.

I have an embedded install - I assume that if if the system is rebooted, I will again have to go to that file and add the comma?
UPDATE: After all I did above, I saved the system config onto my PC. I then rebooted XNAS, and it wouldn't start, saying no config file could be found. I had to do a fresh embedded install of 6766, and when I restored it to my saved config (with change in syslog setting), File manager worked fine. I don't know if the comma I added in .htusers.php messed up something else, so perhaps the best route is to simply change the syslog setting, save the new config file (just in case), and reboot.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 01 Jul 2019 20:17
by stevencomerthor
biggsy wrote:
24 Jun 2019 11:27
Attempting to use File Manager in the last two 11. releases (6743 & 6766) I have encountered the following error:

Code: Select all

Parse error: syntax error, unexpected ',', expecting ']' in /usr/local/www/quixplorer/_config/.htusers.php on line 7 
The first time I saw this, in 6743, I tracked it down to a missing comma at the end of line 6 - the entry for root and fixed it then. I had never edited this file before.

Unfortunately, I don't know when the error might have been introduced because I don't use File Manager very often but it has returned in 6766.

6 ['root','redacted stuff here.Wy1','/','http://localhost',1,'',32847,1]comma missing here
7 ['','','/','http://localhost',1,'',32847,1],
8 ['root','','/','http://localhost',1,'',32847,1]
9 ];
10 ?>

Please let me know if there is any more information needed.
Thank you!! :D

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 02 Jul 2019 09:38
by raulfg3

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 29 Jul 2019 14:11
by Maurizio
On my server, full installation RootOnZFS, I have installed openntpd as Network Time Protocol (NTP) daemon.
At boot the server looses the _ntp user and the openntp service cannot start.
Starting the service at command prompt I receive the error:

Code: Select all

# /usr/local/etc/rc.d/openntpd start
Performing sanity check on openntpd configuration:
configuration OK
Starting openntpd.
ntpd: unknown user _ntp
/usr/local/etc/rc.d/openntpd: WARNING: failed to start openntpd
Regards,
Maurizio

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 29 Jul 2019 18:52
by JoseMR
Maurizio wrote:
29 Jul 2019 14:11
On my server, full installation RootOnZFS, I have installed openntpd as Network Time Protocol (NTP) daemon.
At boot the server looses the _ntp user and the openntp service cannot start.
Starting the service at command prompt I receive the error:

Code: Select all

# /usr/local/etc/rc.d/openntpd start
Performing sanity check on openntpd configuration:
configuration OK
Starting openntpd.
ntpd: unknown user _ntp
/usr/local/etc/rc.d/openntpd: WARNING: failed to start openntpd
Regards,
Maurizio

Hi, in Full Platforms for additional applications that requires for a user/group, you need to add them from the WebGUI or run a small script to add the users at boot time in order for the app to run properly.

This is a known issue inherited by design and unfortunately additional users/groups added by the pkg tool and/or command line are lost on reboot.

Regards

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 30 Jul 2019 16:00
by Maurizio
JoseMR wrote:
29 Jul 2019 18:52
Hi, in Full Platforms for additional applications that requires for a user/group, you need to add them from the WebGUI or run a small script to add the users at boot time in order for the app to run properly.

This is a known issue inherited by design and unfortunately additional users/groups added by the pkg tool and/or command line are lost on reboot.

Regards
Thank you for the fast reply, as usual !
I have written this simple script :

Code: Select all

#!/bin/sh
GID="233"
UID="233"
USER_NAME="_ntp"
GROUP_NAME="_ntp"
pw groupadd "$GROUP_NAME" -g "$GID"
pw useradd "$USER_NAME" -u "$UID" -c "NTP Daemon" -g "$GROUP_NAME" -s /usr/sbin/nologin -d /var/empty
but running it in Preinit doesn't work.
No problem, this is a production server and I can reboot it only after midday, I have rewritten the script for logging to a file :

Code: Select all

#!/bin/sh
exec >> /var/log/"$(basename "$0" .sh)".log 2>&1
set -x
GID="233"
UID="233"
USER_NAME="_ntp"
GROUP_NAME="_ntp"
pw groupadd "$GROUP_NAME" -g "$GID"
pw useradd "$USER_NAME" -u "$UID" -c "NTP Daemon" -g "$GROUP_NAME" -s /usr/sbin/nologin -d /var/empty
set +x
and tomorrow I will test it

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 30 Jul 2019 18:36
by JoseMR
Maurizio wrote:
30 Jul 2019 16:00
...
but running it in Preinit doesn't work.
No problem, this is a production server and I can reboot it only after midday, I have rewritten the script for logging to a file :
...
and tomorrow I will test it
Hi Maurizio, you can try your code as Postinit, alternatively you can add the below code to the openntpd rc under the startup function "openntpd_checkconfig()" at line #44, the code should looks like this:

Code: Select all

openntpd_checkconfig()
{
	if ! pw groupshow _ntp >/dev/null 2>&1; then
		pw groupadd _ntp -g 233
	fi
	if ! pw usershow _ntp >/dev/null 2>&1; then
		pw useradd _ntp -u 233 -g 233 -c "NTP Daemon" -d /var/empty -s /usr/sbin/nologin
	fi

	echo "Performing sanity check on ${name} configuration:"
	eval ${command} ${command_args} ${openntpd_flags} -n
}
The above will always check for the user/group and generate them as needed at the rc level, but beware that this file may be overwritten upon openntpd pkg upgrades.

Regards

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 31 Jul 2019 15:55
by Maurizio
Hi JoseMR,
I have solved running this script as Postinit

Code: Select all

#!/bin/sh
pw groupadd _ntp -g 233
pw useradd _ntp -u 233 -c "NTP Daemon" -g _ntp -s /usr/sbin/nologin -d /var/empty
/usr/local/etc/rc.d/openntpd onestart
Thank you again for your support.

Regards

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 03 Aug 2019 12:05
by birnbacs
Can you confirm that this Samba-and-TFS bug https://bugzilla.samba.org/show_bug.cgi?id=13175 is fixed?
Is it fixed in 12.1?

(this question is a followup to viewtopic.php?f=21&t=14219)

Thanks!

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 12 Aug 2019 22:35
by bewoco
Hello I have got a problem to get minidlna running.
I detected it recently, maybe it is not a problem with the actual release because I am using dlna relatively seldom.
The mindlna config has not been changed since a year or more and it worked in the past.
Anyhow minidlna now does not run after boot although it is enabled. When I reenable it, it stops after a short time. The log shows a lot of permission errors concerning the configured data dirs.
As far as I know minidlna runs with user dlna. Ok, this user has had no special access rights concerning the data dirs, only read access. (as for others). All data are owned by root and group "Benutzer" with mode 754.
With the additional minidlna parameter uuid=0 root is running minidlna as I understand. Indeed all "access denied" errors are gone, minidlna does not stop but …. any attempt to play any audio or video from my PC via dlna causes an error.
Changing to fuppes - it works.
Any ideas what could be wrong.

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 22 Aug 2019 14:27
by Bruce
Hello, I try "Full" RootOnZFS from "11.6625"to "11.6766"
Follow the readme,I run "sed -i '' -E 's/SIZE=\"320M\"/SIZE=\"384M\"/g' /etc/rc.firmware" on the shell, then:"The firmware is now being installed. The server will reboot automatically."I reboot from putty,
so i try from "11.6625"to "XigmaNAS-x64-full-11.2.0.4.6743"
Follow the readme,
I run "fetch --no-verify-peer -o /etc/rc.firmware "https://sourceforge.net/p/xigmanas/code ... ,then:"The firmware is now being installed. The server will reboot automatically."
what can i do? Tanks

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 22 Aug 2019 16:08
by JoseMR
Bruce wrote:
22 Aug 2019 14:27
Hello, I try "Full" RootOnZFS from "11.6625"to "11.6766"
Follow the readme,I run "sed -i '' -E 's/SIZE=\"320M\"/SIZE=\"384M\"/g' /etc/rc.firmware" on the shell, then:"The firmware is now being installed. The server will reboot automatically."I reboot from putty,
so i try from "11.6625"to "XigmaNAS-x64-full-11.2.0.4.6743"
Follow the readme,
I run "fetch --no-verify-peer -o /etc/rc.firmware "https://sourceforge.net/p/xigmanas/code ... ,then:"The firmware is now being installed. The server will reboot automatically."
what can i do? Tanks

Hi Bruce, the red highlighted command in the above quote is an obsolete fix no longer necessary in recent RootOnZFS platform, it was just a workaround to allow the upgrade process to handle the bigger firmware file, but RAM is the only limit now.

Between you can just roll back to a previous know working Boot Environment from the boot loader menu screen, then after boot success, just check THIS notes about RootOnZFS platform fixes if applicable, then perform a normal firmware upgrade process as usual.

Remember, you need either remote access by IPMI/BMC or local console access in order to roll back from the boot loader menu.

Regards

Re: XigmaNAS 11.2.0.4.6766 released (FreeBSD 11.2-RELEASE-P10)

Posted: 02 May 2020 21:56
by gomario
Apparently this is the last 11.x.x.x version with Extended GUI support! Where can I download the GPT-Usb version? Do you still have it? Please help me...