Unable to change data path under system settings

I want to update the data path for Kunagi but it won't allow me to in the system settings.

I am running kunagi from the .war file placed copied into the webapps directory of my Tomcat instance.

I am running on Windows.

Statement from Kunagi Team

You can not change the data path from within the application. You have to stop Kunagi (Tomcat) and change the data.path property inte the config.properties file. You coul also replace the kunagi-data directory with a link which points to the desired location.

Status

Issue is closed.

Comments

Sun, Jan 14, 2018, 14:09 by Adrian

Hi there,

I am commenting on this thread as this seems to be related to my current problem when trying to setup the Kunagi system.

I am trying to access it but it fails with error:
java.lang.RuntimeException: java.lang.RuntimeException: Creating directory failed: /kunagi-data

I don't understand where the data.path config is, in which file.
I am running kunagi.war with tomcat, which is located in webapps folder.

Thank you kindly for your support.

Cheers,
Adrian

Tue, Jan 16, 2018, 14:14 by Witek (SM,T)

By default Kunagi trys to create a kunagi-data directory in the current work directory. Please check your web server (tomcat) has write permissions to this directory. It seams you start your web application server in the root directory, which could be a problem. Please start your Tomcat from a directory which is writable for Tomcat and where you would like to have your kunagi-data directory.

Alternatively you could create a kunagi-data directory whereever you want and symlink to there. Using Ubuntu with tomcat6 this would look like this:

sudo mkdir /var/my-kunagi-data
sudo chown tomcat6:tomcat6 /var/my-kunagi-data
sudo ln -s /var/my-kunagi-data /kunagi-data

Post a comment



optional
optional