< 182022-07-19⋎20 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
00:02*farmBOT has joined
05:54*farmBOT has joined
18:31*thattechguy99[m] has joined
18:32thattechguy99[m]anyone around who can help with install questions on local hosting?
18:32paul121[m]ask away!
18:32thattechguy99[m]Alright!!! :) Here they come
18:33thattechguy99[m]Which install method do you recommend? I have tried the download one by one component approach and the tar ball method. Both have not gone well for me. Ubuntu 20.04 here.
18:34symbioquine[m]Docker
18:34thattechguy99[m]boo. :)
18:35thattechguy99[m]I'm not running docker but I can see how that would be nice.
18:35FarmerEd[m]Docker :)
18:35symbioquine[m]farmos.org/hosting/install/#farmos-in-do
18:35paul121[m]ya. so you'll want these docs for the packaged tar ball, but yeah, configuring the server is not included in this documentation: farmos.org/hosting/install/#packaged-rel
18:36MarcosCarballal[thattechguy99: I've gone down that road before. On Ubuntu 20.04... I would not recommend it. As others have said, Docker.
18:36thattechguy99[m]ok, hint taken, Docker download it is...
18:36mstenta[m]One command: `docker run --rm -p 80:80 -v "${PWD}/sites:/opt/drupal/web/sites" farmos/farmos:2.0.0-beta5` :-)
18:36thattechguy99[m]need to install docker first.
18:37mstenta[m]thattechguy99: You will need a database too... do you have one running?
18:37thattechguy99[m]sqlite3
18:37mstenta[m]thattechguy99: this page walks through installing Docker docs.docker.com/engine/install/ubuntu/
18:37mstenta[m]it's less complicated than it looks - you basically just walk through that and copy and paste the commands
18:37thattechguy99[m]on it mstenta like a rat on a cheeto
18:38mstenta[m]> sqlite3
18:38mstenta[m]if you're going down the Docker path, you may want to consider running PostgreSQL in Docker as well
18:38mstenta[m]it will perform better than sqlite3
18:38mstenta[m]but no harm in testing it out on sqlite3 first to see if you like it!
18:42paul121[m]the demo site uses sqlite and isn't too bad! but often doesn't have much data either :-)
18:44thattechguy99[m]I can go Postges as well. Tried that the first install.
18:55thattechguy99[m]ran this command "sudo docker pull farmos/farmos:2.0.0" Received the following: Error response from daemon: manifest for farmos/farmos:2.0.0 not found: manifest unknown: manifest unknown
18:55thattechguy99[m]Do you know what the release name is?
19:02FarmerEd[m]farmOS/farmOS:2.0.0-beta5
19:11thattechguy99[m]I must have missed a step somewhere. here is the error: Error response from daemon: pull access denied for farmos/farmos2.0.0-beta5, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
19:11thattechguy99[m]this was the command: sudo docker pull farmos/farmos2.0.0-beta5
19:12thattechguy99[m]putting caps in "OS" resulted in: invalid reference format: repository name must be lowercase
19:20FarmerEd[m]Does beta4 result in the same?
19:20thattechguy99[m]I'll try it.
19:20thattechguy99[m]same message
19:21thattechguy99[m]Using default tag: latest
19:21thattechguy99[m]Error response from daemon: pull access denied for farmos/farmos2.0.0-beta4, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
19:25thattechguy99[m]from my syslog: Jul 19 19:20:38 farmsvr dockerd[876]: time="2022-07-19T19:20:38.449161686Z" level=info msg="Ignoring extra error returned from registry: unauthorized: authentication required"
19:27paul121[m]You need a colon between the image name and version:
19:27paul121[m]`docker pull farmos/farmos:2.0.0-beta5`
19:27thattechguy99[m]crap, I hope that is it
19:28thattechguy99[m] * that was it
19:28thattechguy99[m]Downloading now
19:29FarmerEd[m]Damn colons :D
19:29thattechguy99[m]haha... Need to get that checked
21:59thattechguy99[m]well folks, I got it running. Thanks for the help. one question. I do have a question about if the configuration changes I make in the application will persist through a restart since it is in a docker image?
23:46mstenta[m]The -v argument to the docker run command mounts a volume from your host system into the container
23:47mstenta[m]Everything in that folder will persist when the container is destroyed/upgraded/etc
23:47mstenta[m]So thats what you'll want to backup as well
23:48mstenta[m]Note: that is just for files (settings.php, uploaded photos, etc). You also need to backup your database separately.
23:49mstenta[m]But if you are using sqlite then the db file may actually be in that same dir

< 182022-07-19⋏20 >