Confluence XML Import Issues

{0 Comments}

Find the class that the import is having issues with. For this example ContentPermission is the problem. Error while importing backup: not-null property references a null or transient value: com.atlassian.confluence.security.ContentPermission.owningSet Caused by: net.sf.hibernate.PropertyValueException: not-null property references a null or transient value: com.atlassian.confluence.security.ContentPermission.owningSet Delete all ContentPermission entries from the XML file – this will remove all […]

Read More…

Apache Proxy Example

{0 Comments}

Apache proxy example for web app running on myapp.website.com on port 7990. <VirtualHost *:80> ServerName myapp.website.com ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> # Logging LogFormat “%h %l %u %t “%r” %>s %b” common CustomLog logs/access_log common ProxyTimeout 7200 ProxyPreserveHost On ProxyPass / http://localhost:7990/ ProxyPassReverse / http://localhost:7990/ ProxyTimeout 86400 </VirtualHost>

Read More…

ERROR 2006 (HY000) MySQL server has gone away

{0 Comments}

The server’s default max_allowed_packet value is 1MB and it looks like it has exceeded the default max. You can increase this if the server needs to handle big queries. This can be done in two ways: Start MySQL client with the following option (64 MB for this example) mysql –max_allowed_packet=64M or Add the following in your my.cnf […]

Read More…

Temporarily Disable Puppet

{0 Comments}

This is can be done by an admin disabled of Puppet # puppet agent –disable “Reason why disabled” To make sure it’s disable, just do a Puppet run; # puppet agent -t Notice: Skipping run of Puppet configuration client; administratively disabled (Reason: ‘Testing some new things’); Use ‘puppet agent –enable’ to re-enable. To enable: puppet agent –enable

Read More…

Confluence backup errors

{0 Comments}

The following error(s) occurred: com.atlassian.confluence.importexport.ImportExportException: Couldn’t backup database data. at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEntities(AbstractXmlExporter.java:197) at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEverything(AbstractXmlExporter.java:99) at com.atlassian.confluence.importexport.impl.FileXmlExporter.backupEverything(FileXmlExporter.java:76) Java is running out of memory. To increase heap or perm gen space memory in Linux installations, Edit $CONFLUENCE_HOME/bin/setenv.sh Find the section JAVA_OPTS=”-Xms256m -Xmx512m -XX:MaxPermSize=256m and set accordingly.  Xmx is maximum, Xms is minimum, and MaxPermSize is PermGen.

Read More…

Configuring memcached

{0 Comments}

What is memcached? memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load. Configuring memcached Edit /etc/sysconfig/memcached Sample configuration. Cache size is important, it determines the amount of ram in megabytes that are allocated to memcached pool. PORT=”11211″ […]

Read More…