Migration from FaceNap

How to import the settings, registered users, bans, channels and linked servers of a FaceNap server from the NAPTIFY Server admin page.

You can import the settings, registered users, bans, channels and linked servers of a FaceNap server from the NAPTIFY Server admin page. Registered users can sign in with the same passwords as on FaceNap, so nobody has to register again.

The FaceNap folder is only read and never written to. Just before the import, the NAPTIFY Server database is backed up automatically.

The files config, users, bans, channels and servers flow from the FaceNap folder into NAPTIFY Server, with a backup taken just before.
How the import works

What can be imported

ItemFaceNap fileWhat is imported
Basic settingsconfig・motdServer settings and the MOTD
Registered usersusersAdds the registered users; a user with the same name is overwritten. Users can sign in with their FaceNap passwords
BAN listbansA ban for the same user name and IP address is overwritten. Expired bans are not imported. A ban without a duration gets 7 days
Channelschannels・chmotd.*Registered channels and their channel messages. Choose the channels from a list. A channel with the same name is overwritten
Linked serversserversThe list of linked servers. A linked server with the same host name and port is overwritten

Only items with the same name are overwritten, and none of the other current data is erased. Data other than the five items above, such as messages left for offline users, is not imported.

If you import the basic settings or channels, the server restarts automatically afterwards and connected users are disconnected for a moment. Importing only registered users, bans and linked servers needs no restart.

The Import section: the FaceNap folder box with the Browse…, Search and Review buttons, and what to import (Basic settings, Registered users, BAN list, Channels, Linked servers).
Settings — “Import”

Steps

1

Exit FaceNap normally

Close FaceNap and exit it normally. users, bans and the other files are written when it exits, so a forced shutdown leaves bans unwritten. Once the basic settings are imported, NAPTIFY Server listens on the same ports as FaceNap, so keep FaceNap closed afterwards.

Clicking the close button of the FaceNap window closes it and shows “Exited normally”.
Exiting FaceNap

2

Have the FaceNap folder on the server PC

Have the FaceNap folder on the PC that runs NAPTIFY Server. If FaceNap is on another PC, copy the whole folder. Placing it outside synchronized folders such as OneDrive is recommended. Network paths (\\PC\share) cannot be used.

Dragging the FaceNap folder from its window into the Server PC window to copy it.
Copying the folder

3

Open the admin page

If NAPTIFY Server is not installed yet, finish steps 1 to 3 of <a href=”/en/server-en/getting-started-en/”>Getting started</a>. Right-click the NAPTIFY icon in the system tray and choose “Open admin page”; the admin page opens in your browser.

Right-clicking the NAPTIFY icon in the system tray and choosing Open admin page opens the admin page in a browser.
Opening the admin page

4

Open Import from Settings

Choose Settings in the menu on the left of the admin page, then choose Import in the contents of Settings.

Choosing Settings in the left menu shows the contents of Settings, and choosing Import shows the folder box and the list of items.
Opening Import

5

Specify the FaceNap folder and search

Enter the path of the FaceNap folder (a path on the server’s PC; pasting works) in FaceNap folder and select Search.

When the admin page is open on the server’s PC itself, you can instead select Browse…, choose the folder in the Select Folder dialog, and select Select Folder.

The server looks only for config, motd, users, bans, channels, servers and chmotd.channel-name directly in the folder. Each item shows the file name it found, or “Not found”.

Typing the path in the folder box and selecting Search lists the items that were found with their file names.
Typing the path and searching
Selecting Browse… opens the Select Folder dialog, and choosing a folder fills in the path.
Choosing with Browse…

6

Choose what to import

Check Import for each item you want. Only items whose file was found can be checked, and nothing is checked automatically.

To import users whose names contain double-byte characters, import the Basic settings together with them (importing the basic settings allows double-byte names).

Checking the items from the top down makes Review ready to select.
Checking the items

7

Choose the channels (when importing channels)

When you check Channels, the list of FaceNap’s registered channels (name, capacity, level and topic) appears. All of them are selected at first.

Uncheck the channels you do not want, or select “Select none” and then pick only the ones you need (“Select all” brings everything back). The channel messages (chmotd.channel-name) of the selected channels come with them.

Select none clears everything, the needed channels are checked one by one, and Select all brings everything back.
Choosing channels

8

Review the contents

Select Review and the Import review appears. Nothing in the database has changed yet. Check the following.

Selecting Review opens the Import review, listing the settings and users to be overwritten, the users not imported, and the users who need a password reissue.
The import review
Format of usersShows “FaceNap” for data from a FaceNap server. “SlavaNap” means a format without points: new users get the initial points and the points of overwritten users stay as they are
Settings, users and items to be overwrittenWhat the import changes. Anything not listed stays as it is
Users not importedThe line number, name and reason for each user that cannot be imported, such as a name with a full-width space that NAPTIFY Server cannot use
Skipped files and linesFiles (cannot be opened, larger than 32 MB, and so on) or lines that cannot be read. Only that part is skipped and the rest is imported
Security settings that are not importedShown when a setting could not be imported, such as the one that requires an entry password. Check that setting after the import
Users who need a password reissueUsers whose stored password is damaged and who cannot sign in with any password. Reissue their passwords after the import
Bans and channelsThe number of bans skipped because they have expired or are duplicates, and the number of registered channels created as forced-join destinations

9

Start the import with Register and OK

If everything looks right, select Register (or Cancel to stop).

A message says “The import will start. Once started, it cannot be undone. Continue?” Select OK and the import starts.

Selecting Register shows a confirmation message, and selecting OK starts the import.
Starting the import

10

Wait until it completes

The progress shows “Converting passwords”, then “Writing to the database”, and “Restarting the server” if the import includes the basic settings or channels. Converting the passwords takes longer with many users (about a minute for 1,700 users).

The import is done when you see “The import is complete.” (after a restart: “The server restarted and the import was applied.”). The file name of the backup taken just before the import is shown as “Backup: …”, and the time and result of the last import stay on this card as “Last import”. If you imported linked servers, a notice may say that they take effect the next time the server starts.

The progress bar fills as the message changes from Converting passwords to Writing to the database and Restarting the server, and then “The import is complete.” appears.
Progress and completion

11

Check after the import

  1. Check the settings, registered channels, linked servers and bans in the admin page.
  2. Check Connection settings so that users can connect with the same host name and port as before. If it cannot be reached from outside, see Port forwarding; if the host name is off, see Getting a host name.
  3. Sign in from a client with a user name and password from FaceNap.
  4. If some users sign in with the FaceNap encrypted password, allow it under Compatibility in Settings and enter the same value as FaceNap’s encryption key.
  5. Reissue the passwords of the users listed under “Users who need a password reissue”.
The Registered users page lists the imported user names, levels and last visits (dummy data).
Checking registered users

How to undo an import

In Settings → Data and logs, choose the backup taken just before the import in Backup generation and select Restore selected. Restart the server afterwards. After the restart, every client must reconnect and upload its shares again.

The FaceNap folder is never modified, so you can exit NAPTIFY Server and start FaceNap again as before. However, registrations, points and bans made while NAPTIFY Server was running do not go back to FaceNap.

Opening Data and logs in Settings, choosing the backup taken just before the import in the Backup generation list, and selecting Restore selected.
Restoring from a backup

Messages and what to do

MessageMeaning and what to do
No files to import were found.The folder you entered has no config, users or other files directly in it. Make sure you entered the FaceNap folder itself
The folder could not be searched.Enter a path on a drive of the server’s PC. Network paths (\\PC\share), paths with “..”, and paths that go through a link cannot be used. If FaceNap is on another PC, copy the folder to the server’s PC
The items to be overwritten changed after the review, so nothing was imported.Something changed between the review and the import, for example a new registration or a setting. Nothing was imported; start again from Review
The import failed. The database has not been changed.Check the reason under Details. To protect the current data, nothing is imported when, for example, the backup before the import fails or the folder has disappeared. Resolve the reason and import again
The server could not be restarted.The import is applied the next time the server starts. Exit from the system tray icon and start the server again

Each item is also described in User manual in the user manual.

What to read next