Hi all,
I guess there is some trick that I'm not aware of...
I have switched to file databases (but cannot copy the existing ones to the
filesystem yet, due to problems discussed in another email).
When I upload a file, it is created on the filesystem here:
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png/~METADATA.xml
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png/myrightstoadmin~v1.1.png
/var/cache/jetty/tmp/work/storage/xwiki/Website+Admin/attachment+porter/~this/attachments/myrightstoadmin.png/myrightstoadmin.png
but, when i do
/etc/init.d/jetty stop
it deletes that entire /var/cache/jetty/tmp folder !
Seems obvious to me that since its called /tmp, it means its for temporary
storage.
So when I start jetty up again, the file attachments cannot be found.
Design flaw? Where do I configure the location of the file attachments?
Theres nothing in the documentation.
cheers
Paul