< 282022-04-29⋎30 >

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
04:26*farmBOT has quit (Ping timeout: 256 seconds)
04:26*farmBOT has joined
12:06tool172[m]monkeyflowerfarm: I use portainer to house my docker VM and manage the containers, i use docker-compose in folders and segregate data locations that way, i use nginxproxy for all my port 80 and 443 redirects so I can run mulitple servers on the front end. I think I have 18 containers right now running
12:07tool172[m]you could also use traefik, but i found it cumbersome for my usecase , i also have my own DNS uprouting server through pihole that takes care of A records for me
12:07mstenta[m]wow nice setup tool172 :-)
12:08tool172[m]its really just a cheap optiplex with proxmox VE -> LXC Ubuntu -> dockerman (portainer etc.) then I have a 74U 16core xeon with 256GB Ram and a lot of storage that is now just my main webserver/nextcloud/wordpress/farmosproduction
12:09tool172[m]i'm moving farmos off then wordpress off - leaving nextcloud with apache and lets-encrypt, i can proxy the rest in vhost over to my optiplex
12:09tool172[m]I'm still struggling through the migration from mysql to postgres -> i tried running 3 different docker containers (failed)
12:10tool172[m]so i'm going to spinup a VM next and do it the right way then destroy it
12:10tool172[m]or comment out that line and just roll with it
12:11tool172[m]mstenta: recommend docker setup details and compose example that is plug n play on dockerhub for farmos instead of digging through the git
12:18mstenta[m]tool172: all of the testing I did during development of the migration logic was with the official development compose file github.com/farmOS/farmOS/blob/2.x/docker - with the addition of `www1x` and `db1x` containers running farmOS 1.x + MariaDB, respectively
12:18mstenta[m]All on Debian/Ubuntu
12:19mstenta[m]Same in my production environment (but spread across multiple servers without docker compose, and DBs not running in Docker)
12:19mstenta[m]So we know MariaDB -> PostgreSQL works and is well-tested
12:21mstenta[m]The one issue we've discovered (github.com/farmOS/farmOS/issues/506) is ONLY related to MySQL -> MySQL migrations (not into PostgreSQL)
12:22mstenta[m]And that's just a minor issue, which you can workaround easily by commenting out the line mentioned in that issue... the only downside is you won't get the nifty "Migrated from farmOS 1.x on [date]" revision log messages in your migrated entities
12:22mstenta[m]But... you seemed to suggest that you saw the same error when migrating from MySQL -> PostgreSQL? Is that correct?
12:23mstenta[m]That doesn't make sense to me, because the issue described in that GitHub link is clearly attributable to a difference in SQL syntax between MySQL/PostgreSQL... so I'm curious if it's actually the same error, or if it's something different.
12:28tool172[m]no i haven't
12:28tool172[m]i'm loading a connector right now to perform a re-install in docker with a mysql -> postgres
12:28tool172[m]i was running pgloader
12:28tool172[m]and it crapped out
12:31mstenta[m]oh i'm not familier
12:31mstenta[m]oh, maybe i misunderstood. did you see the error during MySQL->PostgreSQL? Or MySQL->MySQL?
12:32tool172[m]as previosly discussed mysql->mysql
12:32mstenta[m]ok that's what i thought
12:32mstenta[m]i misunderstood earlier then (was chatting from my phone ha)
13:51tool172[m]so the migration fails - but different this time
13:51tool172[m]the way I understand the docks, i create a folder called migrate under files and place my log files in there same structure?
13:52tool172[m]error is on file migration
13:52*uploaded an image: (9KiB) < libera.ems.host/_matrix/media/r0/downloa >
13:57tool172[m]i figured out the error
13:58mstenta[m]oh good
13:58mstenta[m]was just going to say... a tip:
13:58mstenta[m]`drush migrate:messages [migration_id]` will provide more details about errors sometimes
13:58tool172[m]lol i looked
13:58tool172[m]it's a hierarchy issue
13:59tool172[m]it worked
13:59tool172[m]marvelous
13:59tool172[m]now to resecure my mysql server
13:59tool172[m]lol
14:00mstenta[m]🎉
14:00mstenta[m]that's great!
14:00tool172[m]is 2.x branch the latest for 2.0 in docker
14:00tool172[m]i assume latest is for dev only
14:01mstenta[m]i would recommend pinning to a specific version, the most recent is `2.0.0-beta4`
14:01mstenta[m]`2.x` is the dev branch
14:02mstenta[m]`latest` points to the most recent tagged release (`2.0.0-beta4`) - but I recommend NOT using `latest`
14:03tool172[m]thanks, and is there a process for the app too?
14:03tool172[m]or just reset it up to point to the new server
14:03mstenta[m]you mean Field Kit?
14:03tool172[m]yes
14:04mstenta[m]ah unfortunately not ready for use yet
14:04tool172[m]that's fine for now
14:04tool172[m]i still have my main server operational
14:08tool172[m]thanks again. i'm officially now on docker - and apache i guess until the next update
14:44tool172[m]this is under 2.0.4-beta, docker, migrated - loaded google maps module, and blank maps
14:45symbioquine[m]farmos.discourse.group/t/map-images-no-l
14:45mstenta[m]yea the google maps module isn't compatible with 2.0.0-beta4 (yet)
14:46tool172[m]is mapbox good enough
14:46symbioquine[m]OpenStreetMap (or custom basemap sources) should still work too.
14:54tool172[m]coolio
14:54tool172[m]thanks all
14:54tool172[m]bed time
14:54mstenta[m]👋
15:16paul121[m]<FarmerEd[m]> "Anything interesting at DrupalCo..." <- Yes! There were numerous talks on API concepts (OAuth, jsonapi, graphql, decoupled) that were quite good. Almost everything should have been recorded & be released soon. I'll make sure to share that and maybe a list of what might be most interesting to farmOS. It's been fun meeting people from the community and maintainers of other modules we've worked with
19:04mstenta[m]First one to spot paul121 wins! 😄 twitter.com/drupalcon/status/15200556031
19:06FarmerEd[m]He's right there ☝️
19:31paul121[m]Ha!
19:31paul121[m]I was standing next to a tall person
19:32paul121[m]Not that it helps 😁
19:35paul121[m]Ahh we should have tweeted, I had stickers
19:35paul121[m]I still have lots of stickers 🤣

< 282022-04-29⋏30 >