< 152021-11-16⋎17 >

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
02:16*NoahTarr[m] has joined
05:22*jonasbits has quit (Ping timeout: 264 seconds)
05:23*jonasbits has joined
22:14shane_aldrich[m]Sorry I've been offline for the last couple of weeks. Got a Phantom 4 drone from a friend along with a Samsung tablet to control it from another friend. Had to order new batteries and hack the tablet to bypass FRP. Anyway, I'll have more time again this week to work on the module. That being said, coming back to the problems I was having last time... It seems to only happen when I copy my module to `sites/all/modules` and `chown -R`
22:14shane_aldrich[m]that directory to the `group` and `owner` the rest of the site is set to through Docker. Any ideas?
22:23paul121[m]was just thinking of ya! happy to hear from ya
22:24paul121[m]hmm so the issue was the css/theming was weird, yes? because of the cached css + js files?
22:24shane_aldrich[m]It was the `404` after installing my module. Just breaks everything.
22:25paul121[m]you could try doing `chown -R 1000:1000` too - that is the default ID the `2.x-dev` docker image will use
22:25shane_aldrich[m]I'll try that after Docker updates. It's almost there
22:25shane_aldrich[m]Doing a clean install.
22:26paul121[m]hmm guess I don't remember the 404 issue.
22:28shane_aldrich[m]Hmm. Now I can't use docker commands. Let me look at this for a minute
22:32shane_aldrich[m]This is weird. I think I need to restart the computer.
22:47shane_aldrich[m]More issues. Now `nginx` won't start. It's odd how 2 weeks kind of breaks things every now and then.
22:55paul121[m]well shoot. the dev docker has been pretty reliable for me
22:56shane_aldrich[m]I'm looking further into it. I think it has something to do with my virtual hose `conf` file since I've changed over to Docker. I'll let you know soon.
23:00shane_aldrich[m]That was it. I had to change the `config` file to add one level deeper `www/web` instead of `web`. Now let's see what happens from here.
23:04shane_aldrich[m]First thing I notice after doing `docker-compose up -d` and checking `owner` and `group` settings is that everything is `shane:shane`. Should I be running Docker commands with `sudo`?
23:07paul121[m]nope, I think that is OK!
23:08paul121[m]that means that the container is creating files with same owner ID as your computer's `shane` user ID
23:09shane_aldrich[m]Cool. Now it just won't go through the install process. Deleting and starting over once more.
23:13shane_aldrich[m]`Writable public download method` and `Settings file` errors after selecting "English"
23:14shane_aldrich[m]Did `chmod -R 755` on the `default` directory and still got those errors.
23:15paul121[m]I think that is part of the issue... not everything in `sites/default` should have open permissions
23:15paul121[m]when you install the first time Drupal should set the correct permissions
23:16paul121[m]if you don't have anything sensitive, you could try deleting `sites/default` ?
23:16shane_aldrich[m]This is all "out of the box". I didn't add any files or directories yet. Here is a screenshot:
23:17*uploaded an image: (138KiB) < libera.ems.host/_matrix/media/r0/downloa >
23:17shane_aldrich[m]So.. This leads me to believe I should try using `sudo` for the `docker-compose up -d` command
23:29shane_aldrich[m]That didn't work either.
23:32shane_aldrich[m]Here's the new error after the newest clean install `The Settings file is not writable.`
23:33shane_aldrich[m]here is what it looks like when I `ls -la`: `-rwxrwxr-x shane shane`
23:35shane_aldrich[m]I think I might have used `777` the last time I got this
23:38shane_aldrich[m]That got it moving forward. But now I can't get past the `db` install. I used `farm` for the first 3 entries and `db` under advanced.
23:47paul121[m]hmmm. okay, yes, `farm` is the database name, username and password
23:48paul121[m]`db` would be the IP or hostname of the sql db. with our `docker-compose` setup the service is named `db` so you can use `db` as the hostname
23:49paul121[m]also make sure you select postgres instead of mysql (if you are using our standard docker-compose file)
23:49*uploaded an image: (17KiB) < libera.ems.host/_matrix/media/r0/downloa >
23:50shane_aldrich[m]It's not selectable
23:50shane_aldrich[m]Need to fold some laundry really quick
23:52paul121[m]ummm that is odd! not sure I have seen that?
23:53paul121[m]I gtg myself!
23:59shane_aldrich[m]Yeah. It's weird. I don't have my wsl2 `mariadb` running. The docker container is running fine.

< 152021-11-16⋏17 >