xampp and dokuwiki installed, docuwiki gives setup error.

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

xampp and dokuwiki installed, docuwiki gives setup error.

Post by Firefly »

Have installed xampp.sfs

Downloaded dokuwiki

put dokuwiki folder in htdocs

when run localhost/dokuwiki

i get
DokuWiki Setup Error

The datadir ('pages') at ./data/pages is not found, isn't accessible or writable. You should check your config and permission settings. Or maybe you want to run the installer?
I click on run the installer and get back to this error page

Beleve my problem is permissions and groups. Has someone a stepthrough

User avatar
rockedge
Site Admin
Posts: 5898
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2123 times
Been thanked: 2228 times
Contact:

Re: xampp and dokuwiki

Post by rockedge »

I could run through an install example of XAMPP and Dokuwiki and list the steps sometime later today (hopefully). Also please list the Puppy Linux you'll be using.

It might be easier to use the Hiawatha web server already built into Puppy Linux to run dokuwiki. Most likely it is just a matter of configuring Hiawatha correctly for this use case.

Please list the link to the dokuwiki package you are working with so I use the same thing!

User avatar
rockedge
Site Admin
Posts: 5898
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2123 times
Been thanked: 2228 times
Contact:

Re: xampp and dokuwiki

Post by rockedge »

I had success running dokuwiki without installing XAMPP and using only the already builtin Hiawatha web server.

Testing now on a fresh installation of F96-CE_4 if simply copying dokuwiki to /root/Web-Server then in a terminal changing the ownership:

Code: Select all

chown -R webuser:webgroup /root/Web-Server/dokuwiki

Then starting Hiawatha in a terminal: hiawatha and in a browser using the url : http://localhost/dokuwiki will set up DokuWiki easily.

In my case I already have the choice of either using Hiawatha or Apache. Hiawatha is my favorite and usual go to web server. My configurations are different than the stock one that is in /etc/hiawatha/hiawatha.conf.

Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

Re: xampp and dokuwiki installed, docuwiki gives setup error.

Post by Firefly »

Rockedge have installed folder to hiawatha as in your post changed folder as sugested and wont work get 404 error. I may need to tweek my config file.

Using fossapup

Dokuwiki dokuwiki-a6b3119b5d16cfdee29a855275c5759f.tgz

Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

Re: xampp and dokuwiki installed, docuwiki gives setup error.

Post by Firefly »

Hi Rockedge

May i have a copy of your /etc/hiawatha/hiawatha.conf

to see if that works and if diffrent from the one that dokuwiki provides for hiawatha

Yours Firefly

User avatar
rockedge
Site Admin
Posts: 5898
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2123 times
Been thanked: 2228 times
Contact:

Re: xampp and dokuwiki installed, docuwiki gives setup error.

Post by rockedge »

@Firefly I forgot to mention using the builtin Hiawatha server will require PHP7+ to be installed as well. This step is not that hard to do but not everyone's cup of tea.

We could do this or I can try to show you how to use XAMPP in this case. So I have downloaded xampp-linux-x64-7.4.33-0-installer.run and will work from there.

Screenshot(13).jpg
Screenshot(13).jpg (29.48 KiB) Viewed 379 times
User avatar
rockedge
Site Admin
Posts: 5898
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2123 times
Been thanked: 2228 times
Contact:

Re: xampp and dokuwiki installed, docuwiki gives setup error.

Post by rockedge »

@Firefly I got XAMPP with Dokuwiki to work on F96-CE_4 which is similar to Fossapup64-9.5.

I downloaded xampp-linux-x64-7.4.33-0-installer.run

Then adjust the permissions for xampp-linux-x64-7.4.33-0-installer.run to execute and run, then click on it to run the installer.
When installation is completed start the Apache and mysql servers
Copy the dokuwiki directory to /opt/lamp/htdocs and go into the directory and open a terminal:

Code: Select all

chown -R daemon:daemon /opt/lamp/htdocs/dokuwiki

Open a browser and use the URL -> http://localhost/dokuwiki

Screenshot(16).jpg
Screenshot(16).jpg (23.45 KiB) Viewed 373 times
Firefly
Posts: 17
Joined: Mon Jul 13, 2020 8:44 am

Re: xampp and dokuwiki installed, docuwiki gives setup error.

Post by Firefly »

Thanks works fine :thumbup2:

User avatar
rockedge
Site Admin
Posts: 5898
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2123 times
Been thanked: 2228 times
Contact:

Re: xampp and dokuwiki installed, docuwiki gives setup error.

Post by rockedge »

@Firefly Nice!

Thinking about how Dokuwiki works it might be possible to just start the XAMPP Apache server since the MySQL server is not needed.
But that is an optional thing since it will not effect operation running or not.

Post Reply

Return to “Users”