Migrating an old installation made from source code to the installation with installer
A standard installation from source with "make install" spreads files into many places including "/ust/bin" , "/etc" and "/usr/share".
The installer is designed to install the application as container in one directory. Everything is there and it can be easily removed or reinstalled if necessary.
Don't do "--destdir /usr/local/bin" because it will put many files and also folders "webui" and "scripts" there. Instead install into a new empty directory.
Restoring settings
Then start nzbget and import settings from the old config-file, but don't import section PATH. Then adjust the options in the PATH section according to your liking, you can use all your old paths except for options WebDir and ConfigTemplate which your should keep unchanged.
Alternatively: restore all settings including PATH-section but then (directly after restore and before saving) change options WebDir and ConfigTemplate :
Code: Select all
ConfigTemplate=${AppDir}/webui/nzbget.conf.template
WebDir=${AppDir}/webui