The farmer init page usually leads to an animal creating page. This doesn't work in one environment on my side. The farmer pages is always the same, even if this side tells me, "Farming has been succesfully initialized.". Another env works (exactly the same versions on ubuntu). Rewrite ist ok:"rewrite '!corprod/doku.php' -> 'doku.php?animal=corprod'" in both env's. Calling the animal directly doesn't work either (start page is displayed). The animals are the same ones (just for test I copied them from the working environment). I don't get an error message. Is there any way to see what is going on? Log or something like this?
liketrikonasana So as I don't have any idea, I'll start from scratch on a new branch, to install a dokuwiki farm. Checks done:
Thank you for the tag :-)
The animal farm is shown when you select farming in the administration page. Merely pointing the browser at the farmer's start page will show exactly that: the farmer's start page.
That is clear, thank you. The problem is the animal page. After having successfully created the farm, the animal creation page should be displayed. That is not the case, just in this environment. Other envs are working.
I've changed the build script - now the farmer isn't installed. I make a test :-)
Even in this case installing the plugin from the extension manager, I get the error: "Farming has been succesfully initialized." Combined with: "Warning: Your existing inc/preload.php will be overwritten when continuing here!" the farmer plugin page (not the animal page). I'll look at this.
One difference exists. In the new env I'm forced to seperate dirs changed from the wik (plugins, conf, inc), as they must be persistent. Therefore I'm using links to build up this structure.
lib/plugins/farmer/, preload and farm.ini are generated. Animal directory is empty.
Next test - without links. Strange.
That is working. I try to find out, what is going on.
I tested the links (They are required if you want to separate data changed in runtime (i.e. Docker, Open Stack). The error occurs if you create a link for the inc directory. conf, data, and plugin links are working. I try to find the reason.
I tried it now three times. Even if the inc directory is build up from scratch, it is not possible to use the farm, if inc is a link. That is bad, as a workaround is required to save change files. Now I try to define inc as a mount.
I now use following architecture: Docker-Container - Ubuntu /var/www/farm -> /data/farm (Bind) /var/www/dokuwiki/data -> /data/data (Bind) /var/www/dokuwiki -> Managed Volume That worked (one user initialized, farm initialized). New animals are fine too. Just one problem exists: migrated animals don't work (the farmer page is displayed instead of the animal page). That is still open. I still didn't find a possibility to track, what happens.