IRC logs for #farmOS, 2023-06-15 (GMT)

2023-06-14
2023-06-16
TimeNickMessage
[07:09:17]* farmBOT has joined #farmos
[11:28:06]* peko[m] has quit (Excess Flood)
[12:18:04]* AnthonyRitter[m] has joined #farmos
[12:20:04]<AnthonyRitter[m]>Howdy! I'm having an issue, I installed using docker compose and am running into an issue, I finally got the site to install using sqlite because I was having tons of postgres issues but now after it started installing it threw this error, after I enabled verbose debugging.
[12:20:04]<AnthonyRitter[m]>https://pastebin.com/raw/sd7JseiF
[12:20:43]<AnthonyRitter[m]>Any help would be great, not sure if this is the right chat either.
[13:19:27]<mstenta[m]>Anthony Ritter: Huh. Can't say I've ever seen that error before!
[13:19:58]<mstenta[m]>Can you describe a bit more detail about your setup? Are you following one of the recommended guides on farmOS.org or using your own custom configuration?
[14:00:01]<paul121[m]>Anthony Ritter: might be worth trying to clear the cache with drush, likely `docker compose exec www drush cr`
[14:37:35]<AnthonyRitter[m]>I actually got that figured but now I'm having issues with my reverse proxy
[14:38:09]<AnthonyRitter[m]>I'm running on the production docker-compose with sqlite
[14:39:34]<mstenta[m]>OK so you used the example docker-compose.production.yml file, but added a reverse proxy to it?
[14:42:13]<AnthonyRitter[m]>Well I've got the setup complete so I suppose this is more a networking issue but I've also got a remote proxy running on windows IIS for /farmOS on my IIS server, and in my settings.php I added this per the drupal instructions https://pastebin.com/raw/xZEgh3Jn, and I opened port 81 I cant tell what Im missing
[14:42:41]<AnthonyRitter[m]>It servers on the site https://asqrdtech.com/farmOS/ but it only serves the basic html and no accompanying files and Im at a loss'
[14:42:59]<AnthonyRitter[m]>s/asqrdtech/DomainName/
[14:56:59]<symbioquine[m]>Running Drupal (and thus farmOS) under a subdirectory is a bit more complicated than running it at the root of a domain...
[14:57:33]<symbioquine[m]>If you have the choice, I'd recommend just running it at os.DomainName.com or something like that.
[14:58:13]<symbioquine[m]>Otherwise, you need a bit of extra configuration to tell Drupal/farmOS that it is running at a path other than /
[15:02:42]<symbioquine[m]>That configuration - to run the "default site" under a subdirectory - might involve;... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/f4d0898673...)
[15:03:24]<symbioquine[m]>Where {farm_id} is replaced with the subdirectory name. e.g. "farmOS" if you wanted to run farmOS at https://DomainName.com/farmOS/
[15:04:51]<symbioquine[m]>Then - just as with other reverse proxy configurations - you also need to have your reverse proxy settings correct in /opt/drupal/web/sites/default/settings.php and your reverse proxy correctly configured to pass the right headers to Drupal/farmOS.
[15:05:25]<symbioquine[m]>s//a subdomain. e.g. `/, s//`/
[15:07:04]<symbioquine[m]>With NGINX, the location block might look like this;... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/5b9de549da...)
[15:11:40]<symbioquine[m]> * With NGINX, the location block might look like this;... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/799a77f73b...)