I have exported my old database and then exported just the proxy's list to a csv.
I then recreated my docker fully and started from scratch and tried to just import my proxy's list.
Everything looks the same between the old and the new database proxy's tables.
After logging in, I go to proxy's and I see this error: Cannot read properties of null (reading 'name')
I might be doing something wrong but I am not sure what.
Another question that kind of goes along with this is how do I change it from using sqlite database to using my mariadb database in unraid? I tried changing the database location from the default path to the ip and port of my mariadb and on mariadb I had created the npm database and npm user with the npm password that is shows on the webpage
Expected Behavior
I thought I should just be able to import a csv file into the database into the table I want to restore of all my previously exported table data.
Steps To Reproduce
Inside Unraid install the Nginx Proxy Manager (NPM).
Create proxies.
Stop Container.
Export the database file and open with some database reader. (I used: DBrowser (SQLite))
Export Proxy table to csv file.
Back in Unraid install the Nginx Proxy Manager (NPM) again fresh (delete all old folders and data)
Get logged in first time and change default user.
Stop container.
Export the database file and open.
Import the csv file into database.
Save and put database back on unraid.
Start NPM again and log in.
Check Proxy's
Environment
OS: Unraid
OS version: Version: 6.11.5
CPU: Intel® Core™ i5-3470 CPU @ 3.20GHz
Docker version: Docker version 20.10.21, build baeda1f
Device model:
Browser/OS: Chrome
Container creation
Not sure what this is since I don't see this in unraid until I build it or edit it again.
Side note I change the 'DB back to the file so that is what I am using right now'
Current Behavior
I have exported my old database and then exported just the proxy's list to a csv. I then recreated my docker fully and started from scratch and tried to just import my proxy's list. Everything looks the same between the old and the new database proxy's tables. After logging in, I go to proxy's and I see this error:
Cannot read properties of null (reading 'name')
I might be doing something wrong but I am not sure what. Another question that kind of goes along with this is how do I change it from using sqlite database to using my mariadb database in unraid? I tried changing the database location from the default path to the ip and port of my mariadb and on mariadb I had created the npm database and npm user with the npm password that is shows on the webpage
Expected Behavior
I thought I should just be able to import a csv file into the database into the table I want to restore of all my previously exported table data.
Steps To Reproduce
Inside Unraid install the Nginx Proxy Manager (NPM). Create proxies. Stop Container. Export the database file and open with some database reader. (I used: DBrowser (SQLite)) Export Proxy table to csv file. Back in Unraid install the Nginx Proxy Manager (NPM) again fresh (delete all old folders and data) Get logged in first time and change default user. Stop container. Export the database file and open. Import the csv file into database. Save and put database back on unraid. Start NPM again and log in. Check Proxy's
Environment
Container creation
Not sure what this is since I don't see this in unraid until I build it or edit it again. Side note I change the 'DB back to the file so that is what I am using right now'
docker run -d --name='Nginx-Proxy-Manager-Official' --net='back_bridge_network' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Tower" -e HOST_CONTAINERNAME="Nginx-Proxy-Manager-Official" -e 'DB_SQLITE_FILE'='/data/database.sqlite' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:81]' -l net.unraid.docker.icon='https://nginxproxymanager.com/icon.png' -p '81:81/tcp' -p '80:80/tcp' -p '443:443/tcp' -p '3000:3000/tcp' -v '/mnt/user/appdata/Nginx-Proxy-Manager-Official/data':'/data':'rw' -v '/mnt/user/appdata/Nginx-Proxy-Manager-Official/letsencrypt':'/etc/letsencrypt':'rw' -v '/tmp/Nginx-Proxy-Manager-Official/var/log':'/var/log':'rw' --memory=1G --no-healthcheck 'jc21/nginx-proxy-manager'
Container log
Container inspect
No response
Anything else?
No response