Re: [xwiki-users] Filesystem attachment store location
Hi! xwiki.cfg The very last parameter drives this behaviour. Try to write down full path from root instead of standard. Should work. Wiki Restart required also. Kind Regards, Dmitry 20 февраля 2012, 22:49 от Adrian Fita <adrian.fita@gmail.com>:
Hi.
I was being stomped for quite a while why after I restart Apache Tomcat, the attachments configured to be stored on the filesystem could no longer be found by xwiki. But today I found out that the effective directory where xwiki holds the files is created relative to the folder from which Tomcat was started via the bin/startup.sh script. For example, if I start Tomcat from /opt/apache-tomcat-6.0.32, xwiki's attachments directory is /opt/apache-tomcat-6.0.32/data; if I start Tomcat from /opt/apache-tomcat-6.0.32/bin, xwiki's attachments directory is /opt/apache-tomcat-6.0.32/bin/data, and so on.
Is there some way to configure xwiki's attachments directory? Is this the expected/desired behaviour? Am I doing something wrong?
Thanks. -- Fita Adrian _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Kind regards, Dmitry
FFFFUUUUUUUUU! That's the only place I haven't looked! Thank you. I updated the wiki page with this info: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystema... . -- Fita Adrian On Mon, Feb 20, 2012 at 23:43, Dmitry Bakbardin <haru_mamburu@mail.ru> wrote:
Hi!
xwiki.cfg
The very last parameter drives this behaviour. Try to write down full path from root instead of standard. Should work. Wiki Restart required also.
Kind Regards,
Dmitry
20 февраля 2012, 22:49 от Adrian Fita <adrian.fita@gmail.com>:
Hi.
I was being stomped for quite a while why after I restart Apache Tomcat, the attachments configured to be stored on the filesystem could no longer be found by xwiki. But today I found out that the effective directory where xwiki holds the files is created relative to the folder from which Tomcat was started via the bin/startup.sh script. For example, if I start Tomcat from /opt/apache-tomcat-6.0.32, xwiki's attachments directory is /opt/apache-tomcat-6.0.32/data; if I start Tomcat from /opt/apache-tomcat-6.0.32/bin, xwiki's attachments directory is /opt/apache-tomcat-6.0.32/bin/data, and so on.
Is there some way to configure xwiki's attachments directory? Is this the expected/desired behaviour? Am I doing something wrong?
Thanks. -- Fita Adrian _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Thanks for updating the documentation! For your information, the directorty "xwiki.work.dir" you've configured into xwiki.cfg is also the place where is stored the lucene indexes (search engine), and the data used by the Extension Manager (it's where it downloads the .xar packages and process it). So it's a very important value which should be fixed on each installation, especially since the filesystem attachment functionnality ;-) Cheers, -- Guillaume Fenollar XWiki SysAdmin 2012/2/20 Adrian Fita <adrian.fita@gmail.com>
FFFFUUUUUUUUU! That's the only place I haven't looked! Thank you. I updated the wiki page with this info:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystema... .
-- Fita Adrian
On Mon, Feb 20, 2012 at 23:43, Dmitry Bakbardin <haru_mamburu@mail.ru> wrote:
Hi!
xwiki.cfg
The very last parameter drives this behaviour. Try to write down full path from root instead of standard. Should work. Wiki Restart required also.
Kind Regards,
Dmitry
20 февраля 2012, 22:49 от Adrian Fita <adrian.fita@gmail.com>:
Hi.
I was being stomped for quite a while why after I restart Apache Tomcat, the attachments configured to be stored on the filesystem could no longer be found by xwiki. But today I found out that the effective directory where xwiki holds the files is created relative to the folder from which Tomcat was started via the bin/startup.sh script. For example, if I start Tomcat from /opt/apache-tomcat-6.0.32, xwiki's attachments directory is /opt/apache-tomcat-6.0.32/data; if I start Tomcat from /opt/apache-tomcat-6.0.32/bin, xwiki's attachments directory is /opt/apache-tomcat-6.0.32/bin/data, and so on.
Is there some way to configure xwiki's attachments directory? Is this the expected/desired behaviour? Am I doing something wrong?
Thanks. -- Fita Adrian _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry _______________________________________________ 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
participants (3)
-
Adrian Fita -
Dmitry Bakbardin -
Guillaume Fenollar