< 162021-11-17⋎18 >

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:00shane_aldrich[m]This is the 4th time I've done a clean install this afternoon
00:02mstenta[m]shane_aldrich: that's really weird - i've never seen that either
00:03mstenta[m]my first thought was: maybe PHP doesn't have the postgresql drivers installed or something...
00:03mstenta[m]but if you're using the docker container then that wouldn't be an issue
00:03mstenta[m]so i'm stumped
00:03mstenta[m]but it definitely seems like there's some other permissions issues occurring, so maybe they're related
00:04mstenta[m]i really have no experience with modern windows or wsl2, so i can't say if there is an incompatibility issue - hopefully our image doesn't have some built in limitation
00:05shane_aldrich[m]So wsl2 is running Ubuntu 20.04. It's the same as 2 weeks ago. The only thing that's changed now is the new `docker-compose` installation.
00:05mstenta[m]oh and it was working 2 weeks ago?
00:06mstenta[m]you just updated docker composer?
00:06shane_aldrich[m]Here are the `db` directory permissions: `drwx------ systemd-coredump root`
00:06shane_aldrich[m]mstenta[m]: yes
00:06mstenta[m]sorry i think i missed some of that
00:06shane_aldrich[m]mstenta[m]: yes
00:06mstenta[m]`docker-compose --version`
00:06mstenta[m]what version now?
00:07mstenta[m]mine:... (full message at libera.ems.host/_matrix/media/r0/downloa)
00:08shane_aldrich[m]version `2.1.1`
00:08shane_aldrich[m]This is set through Windows Docker Desktop with wsl2 integration.
00:10mstenta[m]finishing the dishes... brb :-)
00:10shane_aldrich[m]Shit! I think I just found something... The `db` is running on port `5432` not `3306`
00:10mstenta[m]postgresql runs on 5432
00:10mstenta[m]that's correct
00:12shane_aldrich[m]OK. Just tried to change that via advanced through the UI. No dice. Wash those dishes. 😜
00:33shane_aldrich[m]Last screenshot to confuse all of us further 🤣:
00:33*uploaded an image: (108KiB) < libera.ems.host/_matrix/media/r0/downloa >
00:34mstenta[m]Haha maybe it's time to buy a raspberry pi shane_aldrich 😅
00:34mstenta[m]Make it your farmOS server :-P
00:36shane_aldrich[m]I was already looking into getting one of those to set up a Kodi box at home. Need to get some income first.
00:36mstenta[m]Oh neat. Always wanted to try Kodi
00:37mstenta[m]I wonder: would it be worth trying to run VirtualBox with Debian/Ubuntu? Just to see if the WSL stuff is affecting this
00:37shane_aldrich[m]I'm going to start over one more time for today. If that doesn't work, I'll get back at it tomorrow. BTW... I'm following the instructions from this link: docs.farmos.org/development/environment/
00:38mstenta[m]Our automated tests basically just run the dev docker compose, so we know that it works in a clean/raw Debian environment. I'm just not sure what variables to look out for outside of that unfortunately
00:38shane_aldrich[m]VirtualBox is a complete resource hog. WSL has been just fine after I figured out some of the initial quirks. It's basically CLI Ubuntu no GUI.
00:39mstenta[m]Yea agreed. I just don't know if there are special considerations with things like permissions etc that might affect this
00:39mstenta[m]Just no experience
00:39shane_aldrich[m]All permissions are handled the same way as if I was in a completely Linux environment.
00:41mstenta[m]I'd be curious to look at the drupal core code for the installer form where you select db type. The fact that you CANT select postgres is very weird and there must be a concrete reason for it
00:41mstenta[m]There must be drupal logic that is detecting something with your system and disabling the option
00:41mstenta[m]I don't know
00:41shane_aldrich[m]`docker-compose` is pulling right now.
00:43shane_aldrich[m]And I think I might know what happened. Stay tuned.
00:49shane_aldrich[m]A couple of things before I reveal what I think happened. While going through the UI install process, it does not create the proper files and permissions while installing this way. So I have to do the following to move on to the `db` part.
00:49shane_aldrich[m]1. `sudo chmod -R 777 default`
00:49shane_aldrich[m]2. `cp default.settings.php settings.php`
00:49shane_aldrich[m]3. `sudo chmod 777 settings.php`
00:49shane_aldrich[m]After that, here is what I see:
00:49*uploaded an image: (61KiB) < libera.ems.host/_matrix/media/r0/downloa >
00:50shane_aldrich[m]So Database type is still not selectable
00:50shane_aldrich[m]I'm not worried about `777` permissions since I'm running this locally.
00:51shane_aldrich[m]Do you want to see anything from the developer console?
00:51mstenta[m]I have never experienced this
00:52mstenta[m]Postgresql and SQLite are always database type options
00:52mstenta[m]There must be a concrete reason they aren't showing up in your install form
00:53mstenta[m]It would probably require digging into that form logic to see why exactly
00:53shane_aldrich[m]How would I find that for you?
00:54mstenta[m]If I was near my computer I would grep for "percona server, or equivalent"
00:54mstenta[m]In the "core" directory
00:54mstenta[m]Of drupal core (not farmOS)
00:54shane_aldrich[m]I will look there now
00:55mstenta[m]That would probably bring you to the file that defines that form
00:55mstenta[m]Then I would look for logic around that field that might be limiting the options
00:56shane_aldrich[m]I'm not really familiar with `grep` commands
00:56mstenta[m]Basically string search
00:56mstenta[m]Super useful!
00:57shane_aldrich[m]I'm in the `web/core` directory now
00:57mstenta[m]grep -irn "percona" corr
00:57mstenta[m]s/corr/./
00:58mstenta[m]Will show everywhere in The current directory where "percona" exists
00:58mstenta[m](I'm just using that a an example string that might be narrow enough to get you to this install form)
00:58*uploaded an image: (202KiB) < libera.ems.host/_matrix/media/r0/downloa >
00:58mstenta[m](feel free to try other strings that might be even more specific)
00:59mstenta[m]Cool
00:59mstenta[m]Avoid anything with "test" in the file name :-)
00:59mstenta[m]Those are probably automated tests
01:00mstenta[m]This might not be the best string to search
01:00mstenta[m]Try another string in that page outside of the db field options
01:00shane_aldrich[m]So from what I see, I should look at the `Install/Tasks.php` file
01:01mstenta[m]That was my first thought too, but those are MySQL specific
01:01mstenta[m]The overall form will be more generic
01:01mstenta[m]It probably loads that file
01:01shane_aldrich[m]Should I `grep` for `postgresql`?
01:01mstenta[m]Notice the driver/MySQL part of the file path
01:02mstenta[m]That would return many many results
01:02mstenta[m]Share a full screenshot of the install page?
01:02mstenta[m]I just forget what strings are on it that might be narrow enough to grep
01:03*uploaded an image: (3338KiB) < libera.ems.host/_matrix/media/r0/downloa >
01:03mstenta[m]Ah dang not really much to go on
01:04shane_aldrich[m]It seems that I should be able to find the proper information from the `install.php` file based on the URL
01:05mstenta[m]i found it...
01:05shane_aldrich[m]Woo hoo!
01:06mstenta[m]git.drupalcode.org/project/drupal/-/blob
01:07shane_aldrich[m]Looking at that now
01:07mstenta[m]did you create a `settings.php` file?
01:08mstenta[m]if so, delete it, and make sure you have `0777` perms on the `sites/default` directory, then reload that page
01:09shane_aldrich[m]I did. I'll do a `chmod -R` for the directory now after deleting `settings.php`
01:09mstenta[m]this install form will create `settings.php` for you, as long as it can write to the dir
01:09mstenta[m]so you don't need to
01:09mstenta[m]maybe that's messing this up
01:11shane_aldrich[m]So this is kind of what I've been doing after `docker-compose up -d`. I `chmod -R 777 default` and run the installer again. Trying again now.
01:12mstenta[m]if you want to start completely fresh, run `docker-compose down`, then delete EVERYTHING except the `docker-compose.yml` file before running `docker-compose up -d`
01:12mstenta[m]including `www` and `db` dirs
01:12shane_aldrich[m]`Settings file does not exist`
01:12mstenta[m]if permissions are writeable then drupal will be able to create settings file
01:12mstenta[m]so something's up with permissions (it seems)
01:13shane_aldrich[m]Totally! `777` should be working
01:13mstenta[m]yea
01:13mstenta[m]have you been deleting `www` and `db` dirs?
01:13mstenta[m]i would suggest doing that to ensure you're starting 100% from scratch
01:14shane_aldrich[m]`sudo rm -rf *` in my directory
01:14mstenta[m]eek don't delete the `docker-compose.yml` tho! :-)
01:14mstenta[m](not hard to recreate)
01:14shane_aldrich[m]That's easy to get with `curl`
01:15mstenta[m]so... i'm curious if this has to do with the uid 1000 assumption that the docker dev image has
01:15mstenta[m]maybe that doesn't jive with wsl
01:15mstenta[m]run `id -u`
01:16mstenta[m]do you get `1000`?
01:16shane_aldrich[m]No containers running. No images left over. No files or directories remain. `curl` then `docker-compose up -d`
01:16mstenta[m](but 777 perms should brute force any perms issues, so i don't know...)
01:16shane_aldrich[m]I usually get `shane:shane` for user and group
01:17mstenta[m]ok but what's the numerical user id of `shane`?
01:17mstenta[m]`id -u` will tell you
01:17mstenta[m]default ubuntu user id is `1000`
01:17mstenta[m](for the main login user)
01:17mstenta[m]maybe that's different on wsl
01:17shane_aldrich[m]pulling now. let me check `id -u`
01:18shane_aldrich[m]`1000`
01:18mstenta[m]ok 👍️
01:18mstenta[m]so that should work
01:18mstenta[m]if this fresh install doesn't work i'm stumped shane_aldrich
01:18mstenta[m]my next advice would be to try a different environment
01:19paul121[m]Be careful about deleting everything if your module is in sites/all/modules!!!!
01:19shane_aldrich[m]While this is pulling... The user/group after install is `systemd-coredump root` for the `db` directory
01:19mstenta[m]oh yea... good point paul121
01:20shane_aldrich[m]paul121[m]: No worries there. I have a directory in my home directory where those stay while I do these things.
01:20mstenta[m]your confidence in running `rm -rf` suggested you knew what you were doing shane_aldrich haha
01:21shane_aldrich[m]Pulling is complete. I will set `default` to `777` before installing through the UI
01:21mstenta[m](with `-R`)
01:22mstenta[m](i still want to know why you would even need to do 777 in the first place... but one thing at a time...)
01:22*uploaded an image: (8KiB) < libera.ems.host/_matrix/media/r0/downloa >
01:22shane_aldrich[m]mstenta[m]: It's been that way for a while with Docker
01:23mstenta[m]that'
01:23mstenta[m]* that's why i'm suspecting wsl or docker for windows etc...
01:23mstenta[m]those are the only pieces here that are unfamiliar to me
01:23mstenta[m]but i don't have anything specific to go on...
01:23mstenta[m]you're doing everything right, it seems
01:24*uploaded an image: (68KiB) < libera.ems.host/_matrix/media/r0/downloa >
01:24mstenta[m]would it be worth trying to install via drush??
01:24mstenta[m](did paul121 suggest this at one point? i seem to remember skimming a previous convo)
01:25mstenta[m]`docker-compose exec -u www-data www vendor/bin/drush site-install -y --db-url=farm:farm@db/farm --account-pass=admin` (i think)
01:25shane_aldrich[m]That was how I was doing it before. Then I decided to try Docker again to make the process a bit smoother. `drush` always seemed to work out just fine except for knowing where to grab the most recent alpha from
01:26mstenta[m]run that command from the directory that `docker-compose.yml` is in
01:27mstenta[m]i honestly never install farmOS through the UI myself anymore... i only use this
01:27mstenta[m](i think you do actually need to copy settings.php manually via that method, now that i recall... drush does that for you)
01:27shane_aldrich[m]I just checked my notes. I was using `composer` to do the installs before, not `drush`
01:28mstenta[m]`composer install` is just for building the codebase - `drush site-install` installs drupal (creates the database, setting.php files, etc)
01:29shane_aldrich[m]File permissions could not be set that way
01:29mstenta[m](`composer install` is run during the image build process, so that's already done - the codebase is pre-built for you in the docker image)
01:29mstenta[m](but you need to install drupal)
01:29mstenta[m]shane_aldrich[m]: did you get an error?
01:30mstenta[m]paste?
01:30shane_aldrich[m]mstenta[m]: Yes. I cut and pasted.
01:31shane_aldrich[m]Let me add `sudo` to the front of that command
01:31mstenta[m]<mstenta[m]> "so something's up with permissio..." <- :-)
01:31mstenta[m]but WHAT... is the question
01:32*uploaded an image: (26KiB) < libera.ems.host/_matrix/media/r0/downloa >
01:33mstenta[m]ok let's try something...
01:33shane_aldrich[m]That was from both methods. One without `sudo` and one with.
01:33mstenta[m]`sudo chown -R www-data:www-data default`
01:33mstenta[m](on the `sites/default` dir)
01:34shane_aldrich[m]changed. go back to drush or UI?
01:34mstenta[m]try drush again
01:36*uploaded an image: (68KiB) < libera.ems.host/_matrix/media/r0/downloa >
01:36mstenta[m]i'm out of ideas shane_aldrich sorry
01:37shane_aldrich[m]I understand. You need to get some rest. I'll come back at this tomorrow to see if I can figure it all out. I might have to see how `nginx` is handling user/group stuff
01:38mstenta[m]stackoverflow.com/questions/65582382/wsl
01:38mstenta[m]maybe this?
01:38mstenta[m]nickjanetakis.com/blog/setting-up-docker
01:39mstenta[m](shot in the dark)
01:39shane_aldrich[m]Thanks for the links. I'm serious... Get some rest brother! I will be back at it tomorrow morning before my lunch meeting. 🍻👋
01:39mstenta[m]i would do some googling (or duckduckgoing) about that in particular- "wsl2 docker permissions issues" has a lot of results...
16:40paul121[m]hey everyone! I did a thing! started a little web app for spinning up demos of farmOS 2.x
16:40paul121[m]laughing-mclean-bcdbff.netlify.app/
16:40paul121[m]github.com/paul121/farm-tugboat-demo
16:40paul121[m]it's really quite simple (and not very pretty) - all the smarts comes a free plan on www.tugboat.qa/
16:41paul121[m]* smarts comes from a free
16:42paul121[m]feel free to test it out! just know the demo previews are deleted after 24 hours
16:43paul121[m]would appreciate some soft stress testing to see how this concept works (using Netlify serverless functions on the "backend")
16:44paul121[m]if you wait until the demo is ready a login link will be generated
16:44paul121[m]but the logins are `admin/admin` or `manager/manager`
17:01mstenta[m]🙌
17:02mstenta[m]This is super exciting!
17:03mstenta[m]I can imagine linking to this from farmOS.org for a live demo
17:03mstenta[m]With a module that populates some default content... 🤩
17:21paul121[m]definitely! would love to get this setup with some default content. Pre-populated locations in the map at the very least
19:20shane_aldrich[m]Looks like I made some progress. This is what I get now after running `docker-compose exec -u www-data www vendor/bin/drush site-install -y --db-url=farm@db/farm --account-pass=admin`
19:20*uploaded an image: (145KiB) < libera.ems.host/_matrix/media/r0/downloa >
19:20shane_aldrich[m]Each time it asks for the user `farm` password, I type "farm"
19:21shane_aldrich[m]* type "farm". Should I be using "admin" instead?
19:22mstenta[m]OK that's progress! :-D
19:22mstenta[m]I think haha
19:22shane_aldrich[m]At least the last notice didn't fail
19:23mstenta[m]So the `--db-url=farm@db/farm` argument is what's telling Drush where the database is and what the credentials are
19:23mstenta[m]The database host URL is actually just `db` in this case... because that's the name of the database service defined in the `docker-compose.yml` file... and Docker creates a network between all of the hosts in there, and makes them all accessible to one another by simple names like that
19:23mstenta[m]So it seems that maybe something is not working there...
19:24mstenta[m]oh wait...
19:24mstenta[m]that argument is wrong
19:24shane_aldrich[m]Here is a screenshot of the lines just above that
19:24mstenta[m]it should be `--db-url=farm:farm@db/farm`
19:24*uploaded an image: (55KiB) < libera.ems.host/_matrix/media/r0/downloa >
19:25mstenta[m]notice the extra `:farm`... that's the password
19:25shane_aldrich[m]OK. Let me make that change
19:27shane_aldrich[m]Getting closer. Getting a warning that says `is_dir()` for private in `settings.php`. But looks like it completed.
19:27mstenta[m]that's normal (sort of)
19:27mstenta[m]harmless
19:28mstenta[m]you can configure private filesystem after install
19:28mstenta[m]i think we have docs for that... lemme see
19:28shane_aldrich[m]Well... I went to the homepage and got this `The website encountered an unexpected error. Please try again later.`
19:28mstenta[m]docs.farmos.org/development/environment/
19:29mstenta[m]ok so you need to see apache logs to debug that
19:29mstenta[m]stop your containers
19:29mstenta[m]and run `docker-compose up` (without the -d)
19:29mstenta[m]and revisit the page
19:29mstenta[m]that will run the containers in the foreground and output logs to the terminal
19:29mstenta[m](fwiw that's usually how i run it, and just leave the terminal window open, so i know it's running... for dev env anyway)
19:31shane_aldrich[m]So this is installing Apache as well? If so, that might be the problem for me since I have `nginx` running right now. In developer tools I see a `500` error
19:32mstenta[m]the `www` container is running apache
19:32*uploaded an image: (226KiB) < libera.ems.host/_matrix/media/r0/downloa >
19:32mstenta[m]the farmOS docker container is essentially the apache+php container + the drupal layer + the farmOS layer
19:33mstenta[m]great!
19:33mstenta[m]that's what you want to see
19:33mstenta[m]now try visiting the site in your browser
19:33shane_aldrich[m]OK. But I still get the error on the homepage
19:33mstenta[m]you should see the logs roll in, including the error
19:34mstenta[m]> I have `nginx` running right now.
19:34mstenta[m]what do you mean?
19:34mstenta[m]you have nginx running on your laptop?
19:34shane_aldrich[m]That is running under wsl2. I'm going to stop the service and see what happens
19:35mstenta[m]oh - could the error you're seeing actually be served from nginx, and not farmOS?
19:35mstenta[m]if nginx is binding to port 80 on your laptop, then you probably wouldn't be able to start the farmOS container at all, because it would also try to use port 80 and you'd see a conflict error
19:35mstenta[m]only one service can use a port at a time
19:36mstenta[m]oh but `The website encountered an unexpected error. Please try again later.` is a Drupal error... so I think that's farmOS, not nginx, now that i think about it
19:36shane_aldrich[m]`nginx` stopped. "Access Denied" on the site now
19:36mstenta[m]oh! whaa??
19:36mstenta[m]it's working without an error?
19:36mstenta[m]because you turned off nginx? that doesn't make any sense haha - but OK!
19:36*uploaded an image: (63KiB) < libera.ems.host/_matrix/media/r0/downloa >
19:36mstenta[m]great! username/password: admin/admin
19:37shane_aldrich[m]done! phew!
19:37shane_aldrich[m]Now let's see what happens when I copy over my module...
19:38mstenta[m]woo hoo!
19:39mstenta[m]just for giggles, run the `drush site-install` command again like you did before...
19:39mstenta[m]what that will do is wipe your current database and re-install farmOS from scratch
19:39mstenta[m]which is a nice way to "start fresh" from time to time
19:39mstenta[m]it won't delete any files/modules/code
19:39mstenta[m]just the database
19:39shane_aldrich[m]Doing that now
19:39mstenta[m]save that site-install command (maybe as a bash alias) so you can use it in the future
19:40mstenta[m]or a little bash script in the same directory as your `docker-compose.yml` file perhaps, if that's helpful
19:40mstenta[m](it will only work running from that directory anyway)
19:40shane_aldrich[m]I have `drush` as an alias `fdrush`. Just need to remember to use `site-install`
19:41mstenta[m]oh yea
19:41mstenta[m]i also have an alias `fdrush-si` for this exact thing
19:41mstenta[m]so i can easily reinstall from scratch with a single command
19:41shane_aldrich[m]that seemed to work so far. installing my module now
19:42mstenta[m]great!
19:42mstenta[m]hey out of curiosity... how did you fix the permission issues from last night?
19:42mstenta[m]did you have to change any wsl2 config?
19:44mstenta[m]if so i'd love to get that documented in docs.farmos.org for others
19:46shane_aldrich[m]I edited two files: `~/.docker/config.json` from `{"credsStore":"desktop.exe"}` to `{"_credsStore":"desktop.exe"}`
19:47shane_aldrich[m]And`/etc/wsl.conf`. I can copy that here for you to add.
19:48shane_aldrich[m]`# Enable extra metadata options by default... (full message at libera.ems.host/_matrix/media/r0/downloa)
19:48mstenta[m]thanks!
19:48mstenta[m]do you remember what you changed in that?
19:49mstenta[m]was this correct? stackoverflow.com/questions/65582382/wsl
19:49shane_aldrich[m]That file was the same except for `root`. It was `root = /windir/`
19:49mstenta[m]ah ok - maybe that was it
19:50mstenta[m]that's what this says too: nickjanetakis.com/blog/setting-up-docker
19:50shane_aldrich[m]That was the first change I made. But it didn't work until I changed the docker `json` file
19:50mstenta[m]oh ok
19:50mstenta[m]huh
19:51shane_aldrich[m]So maybe both needed to happen. Two small changes for people is better than one that might not work.
19:51mstenta[m]where did you learn to change `docker.json`, do you recall?
19:52shane_aldrich[m]let me find that link again
19:52mstenta[m]i might start a forum topic to document this for now...
19:52shane_aldrich[m]github.com/docker/for-win/issues/12355
19:53mstenta[m]thanks!
19:54shane_aldrich[m]You're welcome! I don't mind going through this to help others out. Now I'm adding other modules to get back to being able to try and get some quick forms going.
19:55paul121[m]<shane_aldrich[m]> "OK. But I still get the error on..." <- fwiw if I install using `drush si ....` and try and load the page while it is installing I will get the same "The website encountered an error....". Clearing the cache post-install fixes it. It sounds like this may have been the prob, but restarting the containers fixed anyways
19:56mstenta[m]ahhh yea that could be it
19:56shane_aldrich[m]`drush cr`
19:56paul121[m]but glad you're up and running ! :-)
19:56shane_aldrich[m]🎉🍻
19:59mstenta[m]farmos.discourse.group/t/developing-in-w
21:33shane_aldrich[m]I'm finally back in phpStorm and trying to get the settings right for the new directory structure using Docker. PHP codesniffer keeps giving me the `phpcs: ERROR: Referenced sniff "Drupal" does not exist`. Also, I just created my "dummy" fungi quick form based on the egg example and I get `Undefined class 'QuickFormBase'`
21:33mstenta[m]add this to your module's dependencies: `farm_quick`
21:33mstenta[m]so that it gets installed when your module does
21:34mstenta[m](and then reinstall your module)
21:34mstenta[m]as for the sniff issue... hmm, tbh i'm experiencing that myself right now haha
21:34mstenta[m]but i think i broke mine
21:37shane_aldrich[m]adding `farm_quick` did not get rid of the error in phpStorm
21:37mstenta[m]does `web/profiles/farm/modules/core/quick` exist?
21:38mstenta[m]you have to install that module
21:38mstenta[m]`drush en farm_quick` will install it
21:38mstenta[m]but if PHPStorm is complaining, then maybe that module doesn't exist... which might indicate that you don't have a recent farmOS version
21:39mstenta[m]are you using the `farmos/farmos:2.x` image?
21:39shane_aldrich[m]It's in that directory
21:39mstenta[m]oh ok
21:39shane_aldrich[m]This is all Docker install from today.
21:40mstenta[m]just want to make sure... because if you haven't run `docker pull farmos/farmos:2.x` lately, you'll still have an old image
21:40shane_aldrich[m]When I go to "Extend" farmOS quick forms is enabled
21:40mstenta[m]ok cool
21:40mstenta[m]not sure why phpstorm is complaining then
21:40mstenta[m]maybe it needs to reindex its code to see the new file
21:41mstenta[m]if you right click on the top level directory in phpstorm, and click "reload from disk" it might help
21:41shane_aldrich[m]I have all of the directories properly configured. It's reindexed several times now.
21:42shane_aldrich[m]"reload from disk" didn't work.
21:42mstenta[m]regardless of phpstorm, does your form work?
21:43mstenta[m](maybe i misunderstood - sounded like you were saying that error was in phpstorm, but maybe you meant it's in the browser?)
21:43shane_aldrich[m]when I click on quick forms from the left I get `The website encountered an unexpected error. Please try again later.`
21:43mstenta[m]ok
21:43mstenta[m]is your code in github to look at?
21:44mstenta[m]might be something simple
21:44shane_aldrich[m]not yet. I just copied and pasted the egg example and replaced egg with fungi
21:45shane_aldrich[m]it should be on github now
21:45shane_aldrich[m]`0.0.1` branch
21:46shane_aldrich[m]github.com/s33a/farm_shane_fungi/blob/0.
21:46mstenta[m]oooh!
21:46mstenta[m]i know...
21:46mstenta[m]we made a last minute change
21:47shane_aldrich[m]so not documented
21:48mstenta[m]change `use Drupal\farm_quick\QuickFormBase;` to `use Drupal\farm_quick\Plugin\QuickForm\QuickFormBase;`
21:48mstenta[m]correct - the docs are wrong... i will fix that
21:49shane_aldrich[m]Well... that corrected the problem in phpStorm. I will uninstall and reinstall to see what happens.
21:50mstenta[m]no need
21:50mstenta[m]just refresh the page
21:50mstenta[m]should do
21:50mstenta[m]might need to `drush cr`
21:51shane_aldrich[m]`drush cr` gave me an error I think
21:51mstenta[m]fixed the docs: github.com/farmOS/farmOS/commit/ceb71233
21:52shane_aldrich[m]It probably has to do with my alias pointing to the wrong directory. I'll check that now
21:52mstenta[m]oh yea... that's the problem with aliases
21:52mstenta[m]alternatively: `docker-compose exec -u www-data drush ...` should work
21:52mstenta[m](from the same dir as `docker-compose.yml`)
21:53mstenta[m]i have to sign off - family time! good luck shane_aldrich ! hope that gets you going!
21:54shane_aldrich[m]thank you! enjoy!
21:56shane_aldrich[m]`drush` error is `In Connection.php line 135: could not find driver`
21:56shane_aldrich[m]trying docker next
21:57shane_aldrich[m]`drush is not running container #1`

< 162021-11-17⋏18 >