Re: [xwiki-users] Most images not found - new installation
On Thu, Sep 22, 2016 at 11:14 PM, Thomas Mortagnewrote: > On Thu, Sep 22, 2016 at 10:12 PM, Polydectus84 wrote: >> Thomas, >> >> Please ignore my previous message. I decided to make this easier and >> literally start from the beginning. This is exactly what I've done: >> >> 1. sudo apt-add-repository ppa:webupd8team/java >> 2. sudo apt-get update >> 3. sudo apt-get install oracle-java8-installer >> 4. wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - >> sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P >> /etc/apt/sources.list.d/ >> 5. sudo apt-get update >> 6. sudo apt-get install xwiki-enterprise-tomcat7-mysql >> 7. /etc/default/tomcat7 >> - Changed JAVA_HOME=/usr/lib/jvm/java-8-oracle >> - Changed JAVA_OPTS="-Djava.awt.headless=true -Xmx512m >> -XX:+UseConcMarkSweepGC" >> >> I have stopped there for the time being. I didn't want to change the values >> in xwiki.cfg or xwiki.properties until I knew I did this much correctly. >> Also, should I make the changes to xwiki.cfg and xwiki.properties before or >> after running the Distribution Wizard for the first time? > > You need need to change anything, xwiki-enterprise-tomcat7-mysql is > already doing everything properly. > >> >> Please let me know what I should do next to change to the Filesystem storage >> so I can upload files larger than 30MB. I am unsure what directory I can >> use that won't clear itself out. XWiki Debian packages use default attachment store, so the next move is to change for filesystem store but I don't have much experience with it. You can find documentation on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemAttachmentStore but you probably already know it. >> >> Again, your help is greatly appreciated. >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601336.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
On Thu, Sep 22, 2016 at 10:12 PM, Polydectus84wrote: > Thomas, > > Please ignore my previous message. I decided to make this easier and > literally start from the beginning. This is exactly what I've done: > > 1. sudo apt-add-repository ppa:webupd8team/java > 2. sudo apt-get update > 3. sudo apt-get install oracle-java8-installer > 4. wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - > sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P > /etc/apt/sources.list.d/ > 5. sudo apt-get update > 6. sudo apt-get install xwiki-enterprise-tomcat7-mysql > 7. /etc/default/tomcat7 > - Changed JAVA_HOME=/usr/lib/jvm/java-8-oracle > - Changed JAVA_OPTS="-Djava.awt.headless=true -Xmx512m > -XX:+UseConcMarkSweepGC" > > I have stopped there for the time being. I didn't want to change the values > in xwiki.cfg or xwiki.properties until I knew I did this much correctly. > Also, should I make the changes to xwiki.cfg and xwiki.properties before or > after running the Distribution Wizard for the first time? You need need to change anything, xwiki-enterprise-tomcat7-mysql is already doing everything properly. > > Please let me know what I should do next to change to the Filesystem storage > so I can upload files larger than 30MB. I am unsure what directory I can > use that won't clear itself out. > > Again, your help is greatly appreciated. > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601336.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
Thomas, Please ignore my previous message. I decided to make this easier and literally start from the beginning. This is exactly what I've done: 1. sudo apt-add-repository ppa:webupd8team/java 2. sudo apt-get update 3. sudo apt-get install oracle-java8-installer 4. wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P /etc/apt/sources.list.d/ 5. sudo apt-get update 6. sudo apt-get install xwiki-enterprise-tomcat7-mysql 7. /etc/default/tomcat7 - Changed JAVA_HOME=/usr/lib/jvm/java-8-oracle - Changed JAVA_OPTS="-Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC" I have stopped there for the time being. I didn't want to change the values in xwiki.cfg or xwiki.properties until I knew I did this much correctly. Also, should I make the changes to xwiki.cfg and xwiki.properties before or after running the Distribution Wizard for the first time? Please let me know what I should do next to change to the Filesystem storage so I can upload files larger than 30MB. I am unsure what directory I can use that won't clear itself out. Again, your help is greatly appreciated. -- View this message in context: http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601336.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
Thank you for your quick reply Thomas. I love your software, I am just getting discouraged because of all the hiccups (likely my own fault). Where might I find this log? What directory would you recommend I use for environment.permanentDirectory in xwiki.properties ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601335.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
A warning in the log. On Thu, Sep 22, 2016 at 8:13 PM, Thomas Mortagnewrote: > Sounds like your permanent directory end up in a temporary folder > deleted each time XWiki restart. > > You probably have a warning at starting about that. See property > environment.permanentDirectory in xwiki.properties. > > On Thu, Sep 22, 2016 at 6:36 PM, Polydectus84 wrote: >> Installed XWiki Enterprise 8.2.1 on Ubuntu Server 14.04 LTS. >> >> I did a lot of research after 4 previous failed installation attempts. >> Opted to choose the Filesystem Storage option from the beginning since we >> need to host files larger than 30MB. I followed these instructions: >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemattachmentstorelocation >> >> Everytime I start xwiki, I am brought through the Distribution Wizard and >> prompted to basically install XWiki again. Sometimes I'm not prompted, but >> most images are not displayed. >> >> In Tomcat7 - JAVA_HOME=/usr/lib/jvm/java-8-oracle >> >> Made changes to xwiki.properties file >> environment.permanentDirectory=/etc/tomcat7/data >> >> Made changes to xwiki.cfg (and made sure they weren't commented out): >> >> xwiki.store.attachment.hint=file >> xwiki.store.attachment.versioning.hint=file >> xwiki.store.attachment.recyclebin.hint=file >> Due to this bug: http://jira.xwiki.org/browse/XWIKI-9065, I changed the >> value in xwiki.cfg for: >> storage.attachment.recyclebin=0 >> >> My gut is telling me that I need to use this >> http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter >> , but I can't because the attachment is no longer available. >> >> Any help would be greatly appreciated. If you need more info, please let me >> know. >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
Sounds like your permanent directory end up in a temporary folder deleted each time XWiki restart. You probably have a warning at starting about that. See property environment.permanentDirectory in xwiki.properties. On Thu, Sep 22, 2016 at 6:36 PM, Polydectus84wrote: > Installed XWiki Enterprise 8.2.1 on Ubuntu Server 14.04 LTS. > > I did a lot of research after 4 previous failed installation attempts. > Opted to choose the Filesystem Storage option from the beginning since we > need to host files larger than 30MB. I followed these instructions: > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemattachmentstorelocation > > Everytime I start xwiki, I am brought through the Distribution Wizard and > prompted to basically install XWiki again. Sometimes I'm not prompted, but > most images are not displayed. > > In Tomcat7 - JAVA_HOME=/usr/lib/jvm/java-8-oracle > > Made changes to xwiki.properties file > environment.permanentDirectory=/etc/tomcat7/data > > Made changes to xwiki.cfg (and made sure they weren't commented out): > > xwiki.store.attachment.hint=file > xwiki.store.attachment.versioning.hint=file > xwiki.store.attachment.recyclebin.hint=file > Due to this bug: http://jira.xwiki.org/browse/XWIKI-9065, I changed the > value in xwiki.cfg for: > storage.attachment.recyclebin=0 > > My gut is telling me that I need to use this > http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter > , but I can't because the attachment is no longer available. > > Any help would be greatly appreciated. If you need more info, please let me > know. > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users