| [07:25:51] | <munjoma[m]> | Hello, my name is Ronald, based in Harare, Zimbabwe. I have been playing with farmos docker to see if its something that I can implement for farmers here. Its an interesting projects with a number of good features |
| [07:27:11] | <munjoma[m]> | yesterday I decided to update my docker instance after pulling the farm ledger code, when I deleted the farm.info file I lost all the additional modules (bee, marple and mushroom) modules, so I decided to start from scratch, several times I have been getting the below error |
| [07:27:17] | <munjoma[m]> | An AJAX HTTP request terminated abnormally. Debugging information follows. Path: http://localhost/install.php?profile=farm&locale=en&id=2&op=do StatusText: ResponseText: ReadyState: 4 |
| [07:28:39] | <munjoma[m]> | any idea what went wrong and how to fix it? |
| [07:29:42] | <mstenta[m]> | Hi munjoma - can you post a bug report on GitHub? https://GitHub.com/farmOS/farmOS |
| [07:29:50] | <mstenta[m]> | I can take a closer look later today |
| [07:31:09] | <munjoma[m]> | Hi mstenta thanks for your response. Is there a way to access the error log? I am still new to docker |
| [09:00:01] | <mstenta[m]> | munjoma: Yes the Docker container will output Apache logs to the terminal if you are running it without the -d parameter (ie: sudo docker-compose up) |
| [09:00:27] | <mstenta[m]> | munjoma: Drupal has its own logs at /admin/reports/dblog (if you can access the site) |
| [09:01:32] | * trentf has quit (Remote host closed the connection) |
| [09:08:26] | <mstenta[m]> | munjoma: Regarding your earlier messages, you said: |
| [09:08:44] | <mstenta[m]> | > when I deleted the farm.info file I lost all the additional modules (bee, marple and mushroom) modules |
| [09:09:18] | <mstenta[m]> | This probably happened because you put the add-on modules inside the /profiles/farm/modules directory, instead of the sites/all/modules directory. |
| [09:09:38] | <mstenta[m]> | This is described on the farmOS.org Docker documentation page: https://farmos.org/development/docker/ |
| [09:09:44] | <mstenta[m]> | > When the codebase is rebuilt, everything in /var/www/html is wiped out and replaced automatically, with the exception of the /var/www/html/sites directory - which is preserved across the rebuild. This ensures that Drupal's settings.php, any uploaded files (in sites/default/files), and any additional modules that you add to sites/*/modules are not lost when the codebase is rebuilt. |
| [09:11:28] | <mstenta[m]> | Do you have any real data in your farmOS right now? If not, and you are OK with starting from scratch completely, then I would recommend simply deleting the entire .data directory that Docker created (inside the farmOS directory) and trying again. |
| [09:11:55] | <mstenta[m]> | The .data directory contains your database, as well as the farmOS codebase and any files or configuration you've created. |
| [09:12:14] | <mstenta[m]> | By deleting that, and restarting the container, farmOS will be installed from scratch. |
| [09:12:18] | <mstenta[m]> | Hope that helps! |
| [09:21:41] | * trentf has joined #farmos |
| [10:31:03] | <munjoma[m]> | mstenta: I don't have any important data, I destroyed docker and deleted all the farmos data - sudo rm -rfv farmOS folder. And getting an error whilst starting from scratch. I will try again and take note of all the errors and warnings. If it fails I will include all the information in the bug report. Thanks for your help |
| [10:32:01] | <munjoma[m]> | out of interest is farm_ledger a double entry accounting module? If yes, are they plans to fully support the financial management of the farm in FarmOS |
| [10:32:28] | <mstenta[m]> | munjoma: Sounds good! Good luck! Remember to read through all the instructions on https://farmos.org/development/docker/ (if you haven't already) |
| [10:33:11] | <mstenta[m]> | farm_ledger is a new module that just adds a Sale and Purchase log type to farmOS. But yes, the long-term vision is to integrate it with the Drupal Ledger module for double-entry bookkeeping (although there is no timeline or funding for that at this time) |
| [10:33:34] | <mstenta[m]> | It will most likely be after the upgrade to Drupal 8 |
| [10:33:45] | <mstenta[m]> | And will also depend on the Ledger module being built for Drupal 8 |
| [10:34:07] | <munjoma[m]> | that sounds interesting |
| [10:34:17] | <mstenta[m]> | I generally plan ahead for lots of things... and if interest/sponsorship becomes available, then we're ready to hit the ground running |
| [10:34:23] | <munjoma[m]> | do you have any FarmOs users in Africa? |
| [10:34:30] | <mstenta[m]> | If not... oh well... such is open source development :-) |
| [10:34:56] | <mstenta[m]> | Yes, there are some... |
| [10:35:25] | <mstenta[m]> | I can't recall off the top of my head... but I am talking with the Uganda forest service about using farmOS for their forestry management |
| [10:38:38] | <munjoma[m]> | I want to have a good understanding of how FarmOS works and push it to Zimbabwean farmers |
| [10:39:05] | <mstenta[m]> | munjoma: That would be great! |
| [10:39:10] | <munjoma[m]> | once I have a hang of things I want to approach one or two farmers and identify gaps between whats available and their needs |
| [10:40:05] | <munjoma[m]> | The initial setup seems a bit trick, I am planning of using the CSV import functionality for the initial setup data loading |
| [10:40:50] | <munjoma[m]> | I am not a developer but hoping to contribute to the documentation efforts. I will open issues for parts that I don't understand and I feel are missing or not clear |
| [10:40:58] | <mstenta[m]> | Sounds good. Yes, initial data entry can be a big hurdle for some. But once you get areas mapped, and plantings/animals input, it becomes easier moving forward. |
| [10:41:09] | <mstenta[m]> | That would be great! Contributions are welcome! |
| [10:41:54] | <mstenta[m]> | FYI The documentation on farmOS.org is currently in a separate repository: https://github.com/farmOS/farmOS.org |
| [10:43:33] | <munjoma[m]> | I am trying to get my head around the terms, areas, plantings.... when I installed the food safety module, things became a little bit clearer. The modules makes it easy to add various logs |
| [10:46:41] | <mstenta[m]> | munjoma: yea! the produce safety module was the first module to provide it's own dashboard, that helps to guide new users into the system |
| [10:46:52] | <mstenta[m]> | I'd like to do more things like that |
| [10:47:07] | <mstenta[m]> | That module was sponsored |