From: Adam S. <ad...@pe...> - 2001-10-04 21:28:14
|
> I'm not thinking straight. Which config file? Honest, I'm shaking.... > (because My ISP hadn't backed up this stuff, either...) i'm not sure because i don't use 1.2 and i don't use a sql backend, but for me in the new cvs version using dba it's all in index.php and it's the 'directory' variable. this points to the directory where the wiki_pagedb.db2 file lives which is what stores all the data. if you didn't configure this file to start with it stores everything in /tmp which means that you're gonna loose all your data everytime your isp reboots their web server. :-( adam. |
From: Marjorie R. <mro...@ma...> - 2001-10-05 03:09:28
|
>'directory' variable. this points to the directory where the >wiki_pagedb.db2 file lives which is what stores all the data. > >if you didn't configure this file to start with it stores everything in >/tmp which means that you're gonna loose all your data everytime your >isp reboots their web server. :-( That's exactly what happened. I hadn't looked at the wiki in 10 very busy days, and the server was set to delete such unused /tmp files. Honestly, sincerely, this wiki is a truly good thing, which truly, really and truly again could use some better documentation on how to install and configure it. I had started to try to upgrade to mysql, and got plain stuck there, as some may recall. (I remained stuck to this day.) Today when I got the one-two punch that my wiki was gone, and then that it was REALLY gone (not backed up - my ISP admits to "screwing up") I felt sick to my stomach, as I was just on the verge of picking up my coauthor at the train station so that I could show her this cool collaberative web environment, along with all the neat content I'd added to it. Lots of things went wrong, including the /tmp directory, the lack of a backup that should've been done (I'm paying for this server, they admit that they blew it), and even that the zip file utility was not as well-documented as it could've been, and helpful guidance from this group was all based on something apparently more recent than the 1.2. I had tried to take that snapshot, and had failed at that too. This is a great group! I respect you! all! And your skill, and the cool inclusive project that we're all building. I'm just trying to document what went wrong, though slightly too tired to do so. I was able to retrieve off of a single hard disk cache one of my main files. I definitely lost some stuff, which my ISP is trying to track down from deleted files, though apparently there is some risk of screwing things up more. I'm going to: a. try to be a better participant in this group by trying to resolve the problem accessing this email using pine from a linux box (which I prefer). The web imail interface I'm using now is actually preventing me from being a full participant, (it's a terrible interface.) Sounds dumb, but it's just a barrier, for now. b. I'm thankful that I found a cached version of one of my key files. c. I plan to stick with this wiki, figure out how to not make it disappear, and probably offer some suggestions (when I'm not bleary-eyed, and still slightly naseous) on how to improve some of the default documentation. My co-author and I are planning a visual guide to nutrition. The wiki seems like a good tool to help us to put it together. (Security is obviously a concern...) She's terrific, and he had a good meeting, despite my missing (gaping hole, the ocean swallowed it up, the earth is coming to an... okay, okay) content. I had shown this wiki to my boss. Maybe her computer will have some of my lost stuff.... Thanks guys, for responding right away, today. It helped. Sincerely, tiredly, (forgive me, and my adverb abuse) Margie |
From: Adam S. <ad...@pe...> - 2001-10-05 03:45:49
|
> That's exactly what happened. I hadn't looked at the wiki in 10 very > busy days, and the server was set to delete such unused /tmp files. > Honestly, sincerely, this wiki is a truly good thing, which truly, > really and truly again could use some better documentation on how to > install and configure it. lame. if your isp is clueful make then find an undelete utility for your server and try and they should be able to restore a version of it. but you *HAVE* to do this really really soon or the disk blocks where the file was stored may get over written. it may also be impossible as on some unix's /tmp is a ram drive and then there really is nothing to recover (it will probably work if the server was linux, it probably won't if the server is solaris). lesson? never trust anyone to do your backups. > I was able to retrieve off of a single hard disk cache one of my main > files. I definitely lost some stuff, which my ISP is trying to track > down from deleted files, though apparently there is some risk of > screwing things up more. check google (and maybe other search engines) for cached copies. you might be lucky. > My co-author and I are planning a visual guide to nutrition. The wiki > seems like a good tool to help us to put it together. (Security is > obviously a concern...) She's terrific, and he had a good meeting, > despite my missing (gaping hole, the ocean swallowed it up, the earth > is coming to an... okay, okay) content. good luck! adam. |
From: Marjorie R. <mro...@ma...> - 2001-10-05 15:33:45
|
>lesson? never trust anyone to do your backups. This is a fluke, actually. But I would, indeed, like to figure out that phpwiki zip utility thing, in version 1.2 (or what I should upgrade to, to make it more obvious what to do. (It's not built into the admin utility.) >> I was able to retrieve off of a single hard disk cache one of my main >> files. I definitely lost some stuff, which my ISP is trying to track >> down from deleted files, though apparently there is some risk of >> screwing things up more. > >check google (and maybe other search engines) for cached copies. you >might be lucky. Yeah, tried that: no luck. What other utilities save cached copies? Does anyone know? >good luck! Okay: these files are in my /tmp directory. Do I just physically pick the files up and move them to a different directory, and then point to the new location somewhere in the configuration file? -rw-r--r-- 1 nobody nobody 0 Oct 4 15:20 wikipagesdb.lck -rw-r--r-- 1 nobody nobody 0 Oct 4 15:20 wikilinksdb.lck -rw-r--r-- 1 nobody nobody 0 Oct 4 15:20 wikihottopicsdb.lck -rw-r--r-- 1 nobody nobody 1536 Oct 4 15:20 wikihottopicsdb -rw-r--r-- 1 nobody nobody 0 Oct 4 15:20 wikihitcountdb.lck -rw-r--r-- 1 nobody nobody 0 Oct 4 15:20 wikiarchivedb.lck drwxrwxrwt 2 xfs xfs 4096 Oct 4 18:31 .font-unix/ -rw-r--r-- 1 nobody nobody 3057 Oct 4 19:06 wikiarchivedb -rw-r--r-- 1 nobody nobody 41945 Oct 4 19:20 wikipagesdb -rw-r--r-- 1 nobody nobody 15358 Oct 4 19:20 wikilinksdb drwxrwxrwt 14 root root 4096 Oct 5 04:02 ./ -rw-r--r-- 1 nobody nobody 1685 Oct 5 08:59 wikihitcountdb |
From: Adam S. <ad...@pe...> - 2001-10-05 16:40:33
|
> This is a fluke, actually. But I would, indeed, like to figure out > that phpwiki zip utility thing, in version 1.2 (or what I should > upgrade to, to make it more obvious what to do. (It's not built into > the admin utility.) it works great for me in 1.3. i just click the button on the admin page and it downloads a zip file to my local computer. > Okay: these files are in my /tmp directory. Do I just physically pick > the files up and move them to a different directory, and then point to > the new location somewhere in the configuration file? yep. that should work just fine. adam. |
From: Steve W. <sw...@pa...> - 2001-10-05 18:53:15
|
Hi Marjorie. I'm very sorry about the trouble you had recently. :-( You are right that version 1.2 is lacking in documentation, esp. wrt administration. Here's how to get a zip copy of the wiki pages: First, go to the directory where PhpWiki is installed and edit admin.php. There is a spot in there to set the login and password for the administrator: <?php // $Id: admin.php,v 1.5 2000/11/13 10:59:27 ahollosi Exp $ function rcs_id($id) {} // otherwise this gets in the way define('WIKI_ADMIN', true); // has to be before includes include("lib/config.php"); include("lib/stdlib.php"); // set these to your preferences. For heaven's sake // pick a good password! $wikiadmin = ""; $adminpasswd = ""; Set these to whatever you want, like "admin" and "itsasecret". Now you want to go to your Wiki in your browser, but to admin.php: http://yourhost.yourdomain/path-to-wiki/admin.php You should be prompted for the login/password you just set. Once that's done, go to FindPage, type "admin" into the title search and that should pull up PhpWikiAdministration for you. Here you can get two kinds of zip dumps of the Wiki pages: the latest versions and a dump with all archived versions as well. Just click the link and your browser should ask you where to save the zip file. Let me know it that works for you. Also, did you post your problems with mysql here? Most of the people on the list are Mysql wizzards and should be able to pinpoint the problem. ~swain --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |
From: Marjorie R. <mro...@ma...> - 2001-10-05 18:59:49
|
In version 1.2 the zip utility is _not_ part of the admin function. Doesn't seem like anybody here is using 1.2. Is everybody using hacks or are people generally using one of the more recent versions? I sort of wanted to use the stable one, but if there's one I should upgrade to (or if an upgrade is imminent) let me know... I don't see more recent versions, actually, at http://sourceforge.net/projects/phpwiki/ ---------- Original Message ---------------------------------- From: Steve Wainstead <sw...@pa...> Date: Fri, 5 Oct 2001 14:53:12 -0400 (EDT) > >Hi Marjorie. I'm very sorry about the trouble you had recently. :-( > >You are right that version 1.2 is lacking in documentation, esp. wrt >administration. Here's how to get a zip copy of the wiki pages: > >First, go to the directory where PhpWiki is installed and edit admin.php. >There is a spot in there to set the login and password for the >administrator: > ><?php // $Id: admin.php,v 1.5 2000/11/13 10:59:27 ahollosi Exp $ > > function rcs_id($id) {} // otherwise this gets in the way > > define('WIKI_ADMIN', true); // has to be before includes > > include("lib/config.php"); > include("lib/stdlib.php"); > > // set these to your preferences. For heaven's sake > // pick a good password! > $wikiadmin = ""; > $adminpasswd = ""; > >Set these to whatever you want, like "admin" and "itsasecret". > >Now you want to go to your Wiki in your browser, but to admin.php: > >http://yourhost.yourdomain/path-to-wiki/admin.php > >You should be prompted for the login/password you just set. Once that's >done, go to FindPage, type "admin" into the title search and that should >pull up PhpWikiAdministration for you. > >Here you can get two kinds of zip dumps of the Wiki pages: the latest >versions and a dump with all archived versions as well. Just click the >link and your browser should ask you where to save the zip file. > >Let me know it that works for you. Also, did you post your problems with >mysql here? Most of the people on the list are Mysql wizzards and should >be able to pinpoint the problem. > >~swain > >--- > http://www.panix.com/~swain/ >"Without music to decorate it, time is just a bunch of boring >production deadlines or dates by which bills must be paid." > -- Frank Zappa > > |
From: Steve W. <sw...@pa...> - 2001-10-05 19:39:21
|
Hi Marjorie, The instructions I wrote here are for version 1.2; I keep copies running on my home box, and I went through the whole process myself to make sure it worked... is there a URL you can send me for your Wiki? I'd like to check myself to see if it's there. cheers ~swain On Fri, 5 Oct 2001, Marjorie Roswell wrote: > In version 1.2 the zip utility is _not_ part of the admin function. > > Doesn't seem like anybody here is using 1.2. Is everybody using hacks or are people generally using one of the more recent versions? > > I sort of wanted to use the stable one, but if there's one I should upgrade to (or if an upgrade is imminent) let me know... > > I don't see more recent versions, actually, at > http://sourceforge.net/projects/phpwiki/ > > ---------- Original Message ---------------------------------- > From: Steve Wainstead <sw...@pa...> > Date: Fri, 5 Oct 2001 14:53:12 -0400 (EDT) > > > > >Hi Marjorie. I'm very sorry about the trouble you had recently. :-( > > > >You are right that version 1.2 is lacking in documentation, esp. wrt > >administration. Here's how to get a zip copy of the wiki pages: > > > >First, go to the directory where PhpWiki is installed and edit admin.php. > >There is a spot in there to set the login and password for the > >administrator: > > > ><?php // $Id: admin.php,v 1.5 2000/11/13 10:59:27 ahollosi Exp $ > > > > function rcs_id($id) {} // otherwise this gets in the way > > > > define('WIKI_ADMIN', true); // has to be before includes > > > > include("lib/config.php"); > > include("lib/stdlib.php"); > > > > // set these to your preferences. For heaven's sake > > // pick a good password! > > $wikiadmin = ""; > > $adminpasswd = ""; > > > >Set these to whatever you want, like "admin" and "itsasecret". > > > >Now you want to go to your Wiki in your browser, but to admin.php: > > > >http://yourhost.yourdomain/path-to-wiki/admin.php > > > >You should be prompted for the login/password you just set. Once that's > >done, go to FindPage, type "admin" into the title search and that should > >pull up PhpWikiAdministration for you. > > > >Here you can get two kinds of zip dumps of the Wiki pages: the latest > >versions and a dump with all archived versions as well. Just click the > >link and your browser should ask you where to save the zip file. > > > >Let me know it that works for you. Also, did you post your problems with > >mysql here? Most of the people on the list are Mysql wizzards and should > >be able to pinpoint the problem. > > > >~swain > > > >--- > > http://www.panix.com/~swain/ > >"Without music to decorate it, time is just a bunch of boring > >production deadlines or dates by which bills must be paid." > > -- Frank Zappa > > > > > --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |