Thanks. It is working now. I was running in dry mode. On Mon, Oct 29, 2012 at 7:50 PM, mohit gupta <motgu...@gmail.com> wrote:
> Thanks Guillaume. With setting of > property "environment.permanentDirectory" in xwiki.properties, i > see extension folder got created (at server start up )besides lucene. > Extension folder contains the repository folder which is empty. Then I ran > the script V2.0 script at > http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter > but > still it did not import any attachment files from db to repository folder > :( > > > On Mon, Oct 29, 2012 at 4:15 PM, Guillaume Fenollar < > guillaume.fenol...@xwiki.com> wrote: > >> Hello, >> >> You have two variables to check: >> * in xwiki.cfg, you have "xwiki.work.dir". >> * in xwiki.properties, you have "environment.permanentDirectory". >> >> Ensure you set the same directory for both variables. After a restart and >> after running the script you've mentionned above, you should have a >> directory name "storage" beside "lucene" you've noticed. >> If after that, storage dir is not created, check the rights for that >> directory, and the logs. >> >> Good luck :-) >> >> Guillaume Fenollar >> >> 2012/10/29 mohit gupta <motgu...@gmail.com> >> >> > i used the tool suggested at >> > >> > >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter >> > . >> > I am xwiki 3.5 version. I created the page under main space and then >> pasted >> > V2.0 Script. In the end i clicked Start. It says it has imported the all >> > attachments to filesystem. But when i go to administer wiki link again, >> > still images like configuration.png,lf.png, are missing. Does it require >> > the server start-up? >> > >> > >> > Also after import,should not i see the all the imported >> > docs(like configuration.png ) under directory mentioned against element >> > 'xwiki.work.dir'.But that directory contains the lucene folder which >> > contains the files like _2.fdt,_2.fdx etc. >> > >> > On Mon, Oct 29, 2012 at 11:27 AM, mohit gupta <motgu...@gmail.com> >> wrote: >> > >> > > Hi all, I log in to wiki with my admin credentials. Now navigate to >> > > administer wiki but i do not see the wiki default images >> > > like configuration.png,lf.png,usersgroups.png etc >> > > >> > > When i go to firebug and inspect that image , i see the path as >> > > /mywiki/bin/download/XWiki/AdminSheet/configuration.png >> > > but there is no folder like this under mywiki (looks like they are >> > > stored in db and returned thru servlet.Just a guess) >> > > >> > > >> > > Just for information, i am running my wiki instance in disk mode so >> > that >> > > all my attachments are stored in file system instead of db. >> > > Below is the change i did for that:- >> > > >> > > xwiki.store.attachment.versioning=0 >> > > # disable document recycling >> > > storage.attachment.recyclebin=0 >> > > >> > > xwiki.store.attachment.hint = file >> > > xwiki.store.attachment.versioning.hint = file >> > > xwiki.store.attachment.recyclebin.hint = file >> > > >> > > >> > > *I am not sure what i am missing here? Is running wiki under disk mode >> > > the cause for it ?, If yes what is the right way to proceed?* >> > > >> > _______________________________________________ >> > users mailing list >> > users@xwiki.org >> > http://lists.xwiki.org/mailman/listinfo/users >> > >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users