This is the first minor release of the farmOS 2.x branch, following semantic versioning. This means new functionality is added in a backwards compatible manner.
farmOS 2.1.0 adds two quick forms that were present in farmOS 1.x. The Birth quick form makes it easy to record animal births, by creating the birth log and children animal assets all in one step. The Movement quick form (formerly the Animal Movement quick form in 1.x) makes it easy to record the movement of assets to a new location, with the option of customizing their geometry at the same time.
In editable maps, it is now possible to paste WKT into the textarea below the map and the map geometry will be automatically updated.
This release also moves the “View”, “Edit”, and “Revisions” links on assets, logs, plans, and taxonomy terms from primary tabs to secondary tabs, to create a better separation from the other primary tabs.
Both quick forms are super useful to me. When farrowing and trying to record 14 new piglets at a time and the birth records gets very reparative.
With the movement quick form I really like the ability to see where the animals are and where they are headed. With 50+ paddocks and sometimes multiple moves a day this helps make sure I’m refer to the right animals in the right paddocks and if I set up a temporary fence this makes it much easier to modify the shape of the paddocks as needed.
Great work @mstenta
I’m evaluating/trying out farmOS in various environments.
Docker on Mac Intel
Runs but cannot get the map layers working
Docker on Mac M1 Pro
Fails to run
docker run --rm -p 80:80 -v “${PWD}/sites:/opt/drupal/web/sites” farmos/farmos:latest
WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /usr/local/bin/docker-entrypoint.sh: exec format error
Shared hosting, install via CPanel
Runs but cannot get GEOS module installed. Host refused to provide it. Any workaround that?
The issue is an Arm processor in the Mac. You need to build Arm docker image manually, I’ll be building some later for Raspberry Pi could be interesting to see if that image runs on Mac.
Oh, great if the one image covers all 64bit ARM processors, there was some speculation that the Raspberry processors and Mac could be significantly different, presumably other ARM PC’s will be the same then too.
Seems these are unrelated to ARM architecture but more around docker configs. @Farmer-Ed@mstenta
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5db8d7806c71 farmered/farmos:2.1.0 "docker-entrypoint.s…" 2 minutes ago Up 2 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp ecstatic_chaplygin
9b0affbcdb35 mysql/mysql-server:latest "/entrypoint.sh mysq…" 23 minutes ago Up 3 minutes (healthy) 3306/tcp, 33060-33061/tcp mysql
MySQL running
bash-4.4# mysql -ufarm -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 8.0.32 MySQL Community Server - GPL
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| farm |
| information_schema |
| performance_schema |
+--------------------+
3 rows in set (0.02 sec)
mysql> use farm;
Database changed
mysql> show tables;
Empty set (0.00 sec)
Well that is a docker issue as the database and farmOS are in different containers.
You’ll need to enter the host address for the database under advanced options.
localhost or 127.0.0.1 won’t work as it will only direct to the farmOS containers own internal docker address.
172.17.0.1 should work as it is the Docker-host/Bridge address.
Or if you use docker-compose you can just use the hostnames.
If you need more help getting this going maybe we should move to a new thread and leave this one to discuss the new release.