Qlik Community

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

johnh
Contributor

How do I use a Data Folder other than c:\ProgramData

Hi There,

I want to put all of my Qlik data into a folder other than c:\ProgramData\Qlik.

Ie: I need to use d:\Qlik

I can change the location of my Apps folder but not of every thing else.

Is it possible?

John H

13 Replies
korsikov
Valued Contributor II

Re: How do I use a Data Folder other than c:\ProgramData

And there steps to change Work Folder sense server:

Go to C:\ProgramData\Qlik\Sense\Engine and Open Settings.ini

Add these lines in the file:

[Settings 7]

DocumentDirectory=C:\qv

Remember to have an emty line below otherwise the settings won't apply

Restart the Qlik Sense Engine Service

If you want to move you already created apps you need to move them manually

johnh
Contributor

Re: How do I use a Data Folder other than c:\ProgramData

Hi Alexander,

Thanks for the reply but I want to move the whole folder.

I have already followed your suggestion for moving the Apps.

I don't want to keep Application data (ie log files etc) on my c drive.

John H

korsikov
Valued Contributor II

Re: How do I use a Data Folder other than c:\ProgramData

initially did not understand the question. I think you can try to resolve this issue create a link to this directory with the other places on the disk. if you want move app folder in another drive, u can't use hrad link, But U can attach volume as "path" not are Letter.

example

you have two drive C and D

create in drive C folder "BigDate"

go to "comuter managment"

mount drive D as path c:\bigdata

create link mklink

or use this command

mklink /j "c:\mklink" "d:\mkfolder"

sorry for my bad English

Employee
Employee

Re: How do I use a Data Folder other than c:\ProgramData

Hi John -  I am assuming you mean the full Qlik Sense platform and not Qlik Sense Desktop, correct?


(If you can, please mark if post was correct or helpful, so our team knows that you are satisfied with the reply)

Check this help link

The logging in Qlik Sense can be set up to produce customized logging as an addition to the default logging.

To set up customized logging, create a local configuration file named LocalLogConfig.xml in the %ProgramData%\Qlik\Sense\<Service>\ folder.

The following requirements must be fulfilled for the customized logging to function properly:

  • The local configuration file must conform to the XML schema described in XML schema for the local configuration file because the Qlik Sense Repository Service (QRS), Qlik Sense Proxy Service (QPS), and Qlik Sense Scheduler Service (QSS) have built-in schema validation. If the local configuration file is not accepted by the services, an error is logged in the System log.
  • The size of the local configuration file must not exceed 1 MB.

XML schema for the local configuration file

Example: Local configuration file

Regards,

Mike Tarallo

Qlik

In addition, just for clarity there is a Working Folder Directory in the Central Engine settings- where you can make a directory setting change:

Regards,
Mike Tarallo
Qlik
johnh
Contributor

Re: How do I use a Data Folder other than c:\ProgramData

Hi Michael,

Thanks for the reply. Yes it is the Server that I am working with.

However I would like to move all the default log files to the new location not just custom log files.

Regards

Employee
Employee

Re: How do I use a Data Folder other than c:\ProgramData

Hi John - I am not sure if you saw the statement at that link:

-----

The default log files are stored in %ProgramData%\Qlik\Sense\Log\<Service>.

The local configuration file can be used to set up the logging so that the log files are also stored in another location.


The logging in Qlik Sense can be set up to produce customized logging as an addition to the default logging.

To set up customized logging, create a local configuration file named LocalLogConfig.xml

in the %ProgramData%\Qlik\Sense

\<Service>\ folder.

----


Let me know if you need more help with this.

Mike

Regards,
Mike Tarallo
Qlik
borisman
Contributor III

Re: How do I use a Data Folder other than c:\ProgramData

Mike, I am sure this gives a lot of flexibility but most of us just need a simple way to point Sense to a new location of Log folder like it was with QlikView. There really should be a simple text box with file path in Sense QMC. Same with Data App folder - it was very confusing that Working App folder in QMC is not the same thing as Data App folder.

I am sure this will change in newer releases as the product matures.

alan_richmond
Contributor

Re: How do I use a Data Folder other than c:\ProgramData

Are these settings still appropriate for Sense 3.1.1

the links above arent able to be resolved

I too want to relocate the c:/ProgramData/qlik and QlikTech directories OFF the C Drive

Employee
Employee

Re: How do I use a Data Folder other than c:\ProgramData

Hi Alan,

This discussion evolved in to off loading the log files to a different location, do you want to just reconfigure the log location or - do you want to move everything? Log file locations for Qlik Sense can be configured in the QMC.

BUT

Here is a resource that shows you how to move the QlikTech folder:

Qlik Tips: Move your QlikTech ProgramData folder by stephen-x.redmond

@Steve and word on safely moving the Qlik folder? - I assume with the new repository in Qlik Sense this may break something if not done correctly.

Regards,

Mike T

Qlik

Regards,
Mike Tarallo
Qlik
Community Browser