Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8884069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:58:32+00:00 2026-06-14T20:58:32+00:00

I want to run a dokuwiki.org on my server. I’m using the file-based setting

  • 0

I want to run a dokuwiki.org on my server. I’m using the file-based setting so there’s no external database involved.

I want to setup a git repository with contains dokuwiki’s data directory so multiple committers are able to work offline and push the changes back when they are done. The data directory in the git repository is no big deal, you can set the location of the data directory using dokuwiki’s config-files.

I used this guide to set everything up and it’s working as expected.

tl;dr of the guide:

  • setup bare repo
  • post-receive hook on the bare repo to navigate to the htdocs directory and checkout the changes from the bare repo.
  • you push something to the repo, and the htdocs directory automatically checksout the changes from the repo.

So the guide is only useful if you are using it for a static site or something database based.

My problem is that the www directory is changed everytime someone edits something via the web-based wiki and not the files in their local repository -> the changes don’t get pushed back to the bare repository because there’s no hook/way/…to do that.

Is there anything i’m missing here or a better way to handle this usecase?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T20:58:33+00:00Added an answer on June 14, 2026 at 8:58 pm

    There is a fairly new plugin which does exactly what you need: gitbackend. It also supports pulling into the live repo.

    It is not apparent from your description, but in case you plan to “only” change what’s in data/pages and data/media, you would be missing the changes to the meta data. That means that several commits would only appear as a single revision on the old revisions of a page and other data like commit messages / change summary would be missing.

    The aforementioned plugin hasn’t implemented the meta data changes either, but could do it internally. If you’d rather like to write a script which does something externally, you might want to hook into the XML-RPC API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written php program and uploaded on server. I want run this program
I want to run code which needs boost libraries. I built it using CMake.
I want to run a jar file in editplus3 but I dont´n know how
I want to run mongos (that's the mongo route server named mongos , not
I want to run queries on my MySQL server through a C++ program that
I want run to call c.drive() : #include <functional> using namespace std; struct Car
I'm using TFS2008 - soon to move to TFS2010 I want run code coverage
I want to run a web application on php and mysql, using the CakePHP
I want performant run-time memory metrics so I wrote a memory tracker based on
I want run %systemroot%\System32\reg.exe this file to do something, but when I use new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.