On 11/25/18 2:26 AM, pr0xy wrote:
I was trying to install NextCloud into a Qubes R3.2 machine. Although I
have it working it isn't persistent across reboots of the AppVM. Every
time I restart the AppVM it asks me to setup my NextCloud again.

How can I get NextCloud working in an AppVM?

I put NextCloud into a Fedora template. I tried the full manual install
and the Snap method. When I base the AppVM on that template I can
startup NextCloud, create a MariaDB database, create an admin account
and work with various settings, but a restart of the AppVM will lose all
of those settings. How can I make my changes persistent so that I can
use NextCloud normally?

Why not use a StandaloneVM ?

Or do you want to get a "clean/blank" nextcloud install each time you restart an AppVM based on the template where you installed nextcloud ? If so, you'll have to create the db/admin account/... in the templateVM, not in the AppVM, otherwise any changes you do to the root filesystem will be lost at the next restart. Note that it's usually not a good idea to install and run third party stuff in templates (or, don't base sensitive AppVMs on such templates).

FYI the folders/files related to nextcloud are usually:

- The folder where you extracted nextcloud (eg. /var/www/nextcloud)
- The data dir you configured; could be a subdir of the folder above or another path.
- Mysql db (/var/lib/mysql) and maybe /etc/my.cnf*
- relevant httpd config (/etc/httpd/...) + php stuff, eg. /etc/php.ini if you modified it.

You'll also have to enable the web server and mysql in the template (systemctl enable ...); or start it in the AppVM.

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5f1f3df3-f65a-48de-535c-e76ec8abd7d1%40maa.bz.
For more options, visit https://groups.google.com/d/optout.

Reply via email to