I have a working nextcloud in a warden jail with the database of nextcloud and want to recreate the same setup in an iocage jail including my SSL certificate from letsencrypt and my data/shares. I was able to create a nextcloud setup in an icoage jail with a new database nextcloud2.
1) Can I change the database in the iocage jail from nextcloud2 to nextcloud that alread exits ? If so any help with the mysql commands would be greatly appreciated.
2) Can I reuse the same letsencrypt ssl certificated if I copy the nginx.conf from the old jail to the new iocage jail and copy the /usr/local/etc/letsencrypt/live/.... directories or am I stuck recreating a new SSL certificate for this new iocage jail?
1) Can I change the database in the iocage jail from nextcloud2 to nextcloud that alread exits ? If so any help with the mysql commands would be greatly appreciated.
2) Can I reuse the same letsencrypt ssl certificated if I copy the nginx.conf from the old jail to the new iocage jail and copy the /usr/local/etc/letsencrypt/live/.... directories or am I stuck recreating a new SSL certificate for this new iocage jail?