| [21:16:09] | * NoahTarr[m] has joined #farmos |
| [00:22:17] | * jonasbits has quit (Ping timeout: 264 seconds) |
| [00:23:38] | * jonasbits has joined #farmos |
| [17:14:01] | <shane_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` |
| [17:14:01] | <shane_aldrich[m]> | that directory to the `group` and `owner` the rest of the site is set to through Docker. Any ideas? |
| [17:23:29] | <paul121[m]> | was just thinking of ya! happy to hear from ya |
| [17:24:06] | <paul121[m]> | hmm so the issue was the css/theming was weird, yes? because of the cached css + js files? |
| [17:24:49] | <shane_aldrich[m]> | It was the `404` after installing my module. Just breaks everything. |
| [17:25:04] | <paul121[m]> | you could try doing `chown -R 1000:1000` too - that is the default ID the `2.x-dev` docker image will use |
| [17:25:42] | <shane_aldrich[m]> | I'll try that after Docker updates. It's almost there |
| [17:25:54] | <shane_aldrich[m]> | Doing a clean install. |
| [17:26:04] | <paul121[m]> | hmm guess I don't remember the 404 issue. |
| [17:28:41] | <shane_aldrich[m]> | Hmm. Now I can't use docker commands. Let me look at this for a minute |
| [17:32:13] | <shane_aldrich[m]> | This is weird. I think I need to restart the computer. |
| [17:47:21] | <shane_aldrich[m]> | More issues. Now `nginx` won't start. It's odd how 2 weeks kind of breaks things every now and then. |
| [17:55:08] | <paul121[m]> | well shoot. the dev docker has been pretty reliable for me |
| [17:56:04] | <shane_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. |
| [18:00:55] | <shane_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. |
| [18:04:34] | <shane_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`? |
| [18:07:53] | <paul121[m]> | nope, I think that is OK! |
| [18:08:42] | <paul121[m]> | that means that the container is creating files with same owner ID as your computer's `shane` user ID |
| [18:09:26] | <shane_aldrich[m]> | Cool. Now it just won't go through the install process. Deleting and starting over once more. |
| [18:13:46] | <shane_aldrich[m]> | `Writable public download method` and `Settings file` errors after selecting "English" |
| [18:14:42] | <shane_aldrich[m]> | Did `chmod -R 755` on the `default` directory and still got those errors. |
| [18:15:32] | <paul121[m]> | I think that is part of the issue... not everything in `sites/default` should have open permissions |
| [18:15:53] | <paul121[m]> | when you install the first time Drupal should set the correct permissions |
| [18:16:07] | <paul121[m]> | if you don't have anything sensitive, you could try deleting `sites/default` ? |
| [18:16:58] | <shane_aldrich[m]> | This is all "out of the box". I didn't add any files or directories yet. Here is a screenshot: |
| [18:17:05] | <shane_aldrich[m]> | ACTION uploaded an image: (138KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/RDSOdhdZuwf... > |
| [18:17:56] | <shane_aldrich[m]> | So.. This leads me to believe I should try using `sudo` for the `docker-compose up -d` command |
| [18:29:49] | <shane_aldrich[m]> | That didn't work either. |
| [18:32:49] | <shane_aldrich[m]> | Here's the new error after the newest clean install `The Settings file is not writable.` |
| [18:33:57] | <shane_aldrich[m]> | here is what it looks like when I `ls -la`: `-rwxrwxr-x shane shane` |
| [18:35:29] | <shane_aldrich[m]> | I think I might have used `777` the last time I got this |
| [18:38:22] | <shane_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. |
| [18:47:38] | <paul121[m]> | hmmm. okay, yes, `farm` is the database name, username and password |
| [18:48:47] | <paul121[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 |
| [18:49:14] | <paul121[m]> | also make sure you select postgres instead of mysql (if you are using our standard docker-compose file) |
| [18:49:57] | <shane_aldrich[m]> | ACTION uploaded an image: (17KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/mPtymCBtIzh... > |
| [18:50:13] | <shane_aldrich[m]> | It's not selectable |
| [18:50:32] | <shane_aldrich[m]> | Need to fold some laundry really quick |
| [18:52:53] | <paul121[m]> | ummm that is odd! not sure I have seen that? |
| [18:53:02] | <paul121[m]> | I gtg myself! |
| [18:59:49] | <shane_aldrich[m]> | Yeah. It's weird. I don't have my wsl2 `mariadb` running. The docker container is running fine. |