| 00:02 | * | farmBOT has joined |
| 05:54 | * | farmBOT has joined |
| 18:31 | * | thattechguy99[m] has joined |
| 18:32 | thattechguy99[m] | anyone around who can help with install questions on local hosting? |
| 18:32 | paul121[m] | ask away! |
| 18:32 | thattechguy99[m] | Alright!!! :) Here they come |
| 18:33 | thattechguy99[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:34 | symbioquine[m] | Docker |
| 18:34 | thattechguy99[m] | boo. :) |
| 18:35 | thattechguy99[m] | I'm not running docker but I can see how that would be nice. |
| 18:35 | FarmerEd[m] | Docker :) |
| 18:35 | symbioquine[m] | farmos.org/hosting/install/#farmos-in-do |
| 18:35 | paul121[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:36 | MarcosCarballal[ | thattechguy99: I've gone down that road before. On Ubuntu 20.04... I would not recommend it. As others have said, Docker. |
| 18:36 | thattechguy99[m] | ok, hint taken, Docker download it is... |
| 18:36 | mstenta[m] | One command: `docker run --rm -p 80:80 -v "${PWD}/sites:/opt/drupal/web/sites" farmos/farmos:2.0.0-beta5` :-) |
| 18:36 | thattechguy99[m] | need to install docker first. |
| 18:37 | mstenta[m] | thattechguy99: You will need a database too... do you have one running? |
| 18:37 | thattechguy99[m] | sqlite3 |
| 18:37 | mstenta[m] | thattechguy99: this page walks through installing Docker docs.docker.com/engine/install/ubuntu/ |
| 18:37 | mstenta[m] | it's less complicated than it looks - you basically just walk through that and copy and paste the commands |
| 18:37 | thattechguy99[m] | on it mstenta like a rat on a cheeto |
| 18:38 | mstenta[m] | > sqlite3 |
| 18:38 | mstenta[m] | if you're going down the Docker path, you may want to consider running PostgreSQL in Docker as well |
| 18:38 | mstenta[m] | it will perform better than sqlite3 |
| 18:38 | mstenta[m] | but no harm in testing it out on sqlite3 first to see if you like it! |
| 18:42 | paul121[m] | the demo site uses sqlite and isn't too bad! but often doesn't have much data either :-) |
| 18:44 | thattechguy99[m] | I can go Postges as well. Tried that the first install. |
| 18:55 | thattechguy99[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:55 | thattechguy99[m] | Do you know what the release name is? |
| 19:02 | FarmerEd[m] | farmOS/farmOS:2.0.0-beta5 |
| 19:11 | thattechguy99[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:11 | thattechguy99[m] | this was the command: sudo docker pull farmos/farmos2.0.0-beta5 |
| 19:12 | thattechguy99[m] | putting caps in "OS" resulted in: invalid reference format: repository name must be lowercase |
| 19:20 | FarmerEd[m] | Does beta4 result in the same? |
| 19:20 | thattechguy99[m] | I'll try it. |
| 19:20 | thattechguy99[m] | same message |
| 19:21 | thattechguy99[m] | Using default tag: latest |
| 19:21 | thattechguy99[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:25 | thattechguy99[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:27 | paul121[m] | You need a colon between the image name and version: |
| 19:27 | paul121[m] | `docker pull farmos/farmos:2.0.0-beta5` |
| 19:27 | thattechguy99[m] | crap, I hope that is it |
| 19:28 | thattechguy99[m] | * that was it |
| 19:28 | thattechguy99[m] | Downloading now |
| 19:29 | FarmerEd[m] | Damn colons :D |
| 19:29 | thattechguy99[m] | haha... Need to get that checked |
| 21:59 | thattechguy99[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:46 | mstenta[m] | The -v argument to the docker run command mounts a volume from your host system into the container |
| 23:47 | mstenta[m] | Everything in that folder will persist when the container is destroyed/upgraded/etc |
| 23:47 | mstenta[m] | So thats what you'll want to backup as well |
| 23:48 | mstenta[m] | Note: that is just for files (settings.php, uploaded photos, etc). You also need to backup your database separately. |
| 23:49 | mstenta[m] | But if you are using sqlite then the db file may actually be in that same dir |