NethServer Version: 7.4
As I’ve mentioned earlier, I’m looking to possibly migrate my SME Server 9.2 installation to Neth. Yesterday, I tried the migration of a test server (following the rsync method at http://docs.nethserver.org/en/v7/migration.html), and I’m running into two problems: (1) passwords for the users don’t seem to work, and (2) I get a database error when I try to launch roundcube.
The origin was a clean installation of SME Server 9.2 with all updates installed. I updated the directory information, set password strength to none, created about a half dozen users with deliberately weak passwords (it’s testing–they’re just easier to type), and put some data into their home directories over SMB.
The destination system was installed from the Neth 7.3 ISO, then the updates installed to bring it to 7.4. Unchecked the strong password requirement. Installed (using the software center) backup, bandwidth monitor, email, file server, ftp server, instant messaging, MySQL, nextcloud, roundcube web mail, UPS support, and web server. Set local LDAP as the accounts provider.
I then ran the
rsync-migrate script, which pulled over the data. Added more data, ran it again, repeat, it worked fine as far as I could tell. Then ran
rsync-migrate -m to finalize the migration.
Checked the log for errors:
[root@neth2 ~]# grep -E '(FAIL|ERROR)' /var/log/messages Nov 10 12:56:13 localhost esmith::event: ERROR in /etc/e-smith/db/fwrules/migrate//issue5234.ns7: Program fragment delivered error <<Can't call method "get_all" on an undefined value at /etc/e-smith/db/fwrules/migrate//issue5234.ns7 line 33.>> at template line 1 Nov 10 12:56:13 localhost esmith::event: ERROR: Template processing failed for /: 1 fragment generated errors Nov 10 19:16:48 neth2 mysql.init: ERROR 1044 (42000) at line 22: Access denied for user 'root'@'localhost' to database 'information_schema' Nov 10 19:16:48 neth2 esmith::event: Loading information_schema.sql into mysql [FAILED] Nov 10 19:22:43 neth2 ntopng: 10/Nov/2017 19:22:43 [main.cpp:258] ERROR: Unable to store PID in file /var/run/ntopng/ntopng.pid Nov 10 19:22:43 neth2 ntopng: [main.cpp:258] ERROR: Unable to store PID in file /var/run/ntopng/ntopng.pid
I see that the users have come over–the usernames and full names are listed in the control panel. The LDAP directory information has updated (organization name, etc.). But when I try to connect to the users’ home directories over SMB, I can’t log in with the passwords I assigned on the origin system.
The second problem is that when I try to launch roundcube, I get this error: