Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
(Solved) Update to RC2: "Recent changes" error
Avatar
winfrei #1
Member since Oct 2006 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: (Solved) Update to RC2: "Recent changes" error
Hello,

just upgraded my installation from 200603 to the new RC2 according to the documentation. When I click on "Recent changes" I get the following message:

warning: file(/path/data/meta/_dokuwiki.changes) [function.file]: failed to open stream: No such file or directory in /path/inc/changelog.php on line 107

and the pages will not be shown. Don't know what this message means.

Regards,
winfrei
This post was edited on 2006-10-10, 20:53 by winfrei.
Avatar
winfrei #2
Member since Oct 2006 · 3 posts
Group memberships: Members
Show profile · Link to this post
When I changed in the configuration file the template name from my modified template name to "default", the old changelog was imported into the new _dokuwiki.changes in /data/meta and the warning message disappeared.

Greetings,
winfrei
Avatar
andi (Administrator) #3
User title: splitbrain
Member since May 2006 · 3503 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This indicates your other template does not incorporate the "webbug" function which is essential for various DokuWiki functionalities. See http://wiki.splitbrain.org/wiki:tpl:devel#automated_housek…. If the template was not written by your self please contact it's author to make him aware of this flaw.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
tbonnema #4
Member since May 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Recent changes don't show up after server move + upgrade
Hi,

I just moved my DokuWiki installation (http://www.webmontag.de) from my old to my new server.

Here's what I have done so far:

1.  Backup old files
Old installation was DokuWiki Release 2005-09-22d.
Followed instructions here: http://wiki.splitbrain.org/wiki:install:moreupgradedetailh…
Backed up the following (via FTP to my local machine):
  • /data dir (except data/locks dir due to file ownership issues)
  • /conf/acl.auth.php
  • /conf/local.php
  • /conf/users.auth.php

2.  Install newest version of DokuWiki on new server
This part worked without any problems.

3.  Restore settings
I uploaded the backed-up versions of these files. This seems to have worked as well, as I was able to log in using my old credentials (username/password).
  • acl.auth.php
  • local.php
  • users.auth.php

4. Set permissions
Did this according to the instructions.

5. Restore pages
On the new server, I was not able to access (or delete) the /data/cache dir.  I simply renamed it and then was able to to upload all files in my backup.


I noticed two issues:
a) Start page is not writeable
b) When I click on "recent changes" I get the following message and the list of pages does not show up:
warning: file(/path/data/meta/_dokuwiki.changes) [function.file]: failed to open stream: No such file or directory in /path/inc/changelog.php on line 107


6. Set more permissions
Pages weren't writeable at first, so I had to set a few more permissions:
/data/pages dir (files and subdirectories, I just took the settings from my old server)


On the start page, the do=check gives the following:

DokuWiki version: Release 2006-11-06
PHP version 5.2.1
Changelog is writable
Datadir is writable
Attic is writable
Mediadir is writable
Cachedir is writable
Lockdir is writable
conf/users.auth.php is writable
mb_string extension is available and will be used
Debugging support is disabled
Your current permission for this page is 4
The current page is writable by the webserver
The current page is writable by you


7. Do a test edit
Worked fine.
http://www.webmontag.de/doku.php?id=web_montag&do=diff


However, the recent changes page still showed only the one single test edit I just did a few minutes ago.

I found the above forum entry: http://forum.dokuwiki.org/post/979

I added this line to my local.php
$conf['template']    = 'default';
Problem still persists.


My question: How can I restore my wiki's history and make the "old" recent changes show up?

Thanks for your help.  I wasn't able to find any more info on the DokuWiki site or in the forum, but feel free to point me to any documentation there is.

Tim
This post was edited on 2007-05-06, 16:22 by tbonnema.
Avatar
tbonnema #5
Member since May 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: First hint
Chris in the DokuWiki IRC (irc.freenode.net#dokuwiki) points me to this discussion:

http://www.freelists.org/archives/dokuwiki/02-2007/msg0016…

I'll investigate and post my findings here.
Avatar
tbonnema #6
Member since May 2007 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Almost there...
In this post it says to check permissions:

http://www.freelists.org/archives/dokuwiki/02-2007/msg0016…

Changed data/changes.log to 666.

Now do=check shows me this line:
Old changelog exists

However, I can't find instructions on how to force another import.  Apparently, that's needed in order for the old changes to show up.
This post was edited on 2007-05-07, 08:41 by tbonnema.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-14, 08:40:46 (UTC +01:00)