(Where nextcloud is the name you give the remote server)
Then launch:
lxc launch nextcloud:nextcloud11 myNCcontainer
(Where myNCcontainer is the name you give the local container)
Give it a try, let me know what you think. If you can work with me to provide scripts to add more user interaction and not have to ship a pre-installed NC version thatād be great
Jason
Iād posted a note about your Nextcloud LXD image on the LXD sub-reddit
yesterday and someone replied already that theyād just done something
similar the day beforeā¦
There are alot of stuff you can āborrowā from the VM. Just check how we did. The cat option that @jrwren meantioned is an alternative. In the VM we generate new strong passwords with /dev/urandom and lock it into root.
For user passwords itās easy, just do passwd $user and use the occ command for Nextcloud. You could generate passwords here as well and put them in a file only readable by root.
Hello Jason, great idea! But I get Unable to connect to: demo.nextcloud.bayton.org:8443
(or āERR_CONNECTION_REFUSEDā) - is it my fault? Thank you for any hintā¦
Hi Jason! Great I will try it.
I did also some exploration and created a wordpress-hosting-container (fast caching, nginx, ready to runā¦) Maybe we should partner - I will install a your-nextcloudā¦ What I also did, was setting ab a ākolab-mailserverā inside a container. What this containers should have, is a configuration-gui / webpanel. For my wordpress-thinky I developed suchā¦
Did you consider a webpanel to configure your nextcloud-linuximage?
Oh wow thatās nice.
Do you make use of the APIs in LXD to get that up and running? Itās way ahead of my skillset; I run ~20 containers at home and a further 10 on hosts around the net with different services I can move between hosts as I see fit, but itās all CLI, no fancy GUIs for me
That said, I took a crack at one a while back but itās not progressed much since:
Hi Jason,
I intsalled your image! great. Butā¦ there is only apache2 running, no phpā¦
Do I have to run some script or how to proceed?
Thank you for any help
-Ingo - I will look at the Webpanel you mentioned, thanx
What! I launched that image on 3 hosts and it came up perfectly each time.
The install is based on my guide, so PHP7 is installed with the lamp^ meta package.
Edit, just launched one again, itās straight up with no issue aside from the domain error mentioned in /media/nc/start.md:
Yeah, you tried accessing LXD directly, itās not a web interface
The demo.nc URL there is temporary, Iāll likely have a landing page for the actual demo servers in future. In the meantime you can access the demos 9, 10, 11 and 12.
How do you do with the sessions? Are they valid for XX minutes and then everything is reset, or is each session itās own container (like the Nextcloud demo)?