<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[RootOptions.store.provider requiring value &quot;Memory&quot;]]></title><description><![CDATA[<p>Version: jsreport@2.6.1</p>
<p>I am getting the following error when attempting to initialize the server:</p>
<p>error: Error occured during reporter init Error: options contain values that does not match the defined full root schema. <strong>schema validation errors: rootOptions.store.provider should be equal to one of the allowed values. allowed values: [&quot;memory&quot;]</strong></p>
<p>I am probably understanding this incorrectly but isn't it referring to the template store? In the documentation (<a href="https://jsreport.net/learn/template-stores" rel="nofollow">https://jsreport.net/learn/template-stores</a>) it states that template stores default to &quot;fs&quot;.</p>
<p>In my config file I am finding the error being associated to</p>
<pre><code class="language-json">{  
    ...
    &quot;store&quot;: {
        &quot;provider&quot;:&quot;fs&quot;
    },
    ...
}
</code></pre>
<p>When I remove this, it defaults to using memory</p>
]]></description><link>https://forum.jsreport.net/topic/1417/rootoptions-store-provider-requiring-value-memory</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 12:05:55 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/1417.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Jan 2020 20:52:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RootOptions.store.provider requiring value &quot;Memory&quot; on Fri, 17 Jan 2020 20:56:07 GMT]]></title><description><![CDATA[<p>Version: jsreport@2.6.1</p>
<p>I am getting the following error when attempting to initialize the server:</p>
<p>error: Error occured during reporter init Error: options contain values that does not match the defined full root schema. <strong>schema validation errors: rootOptions.store.provider should be equal to one of the allowed values. allowed values: [&quot;memory&quot;]</strong></p>
<p>I am probably understanding this incorrectly but isn't it referring to the template store? In the documentation (<a href="https://jsreport.net/learn/template-stores" rel="nofollow">https://jsreport.net/learn/template-stores</a>) it states that template stores default to &quot;fs&quot;.</p>
<p>In my config file I am finding the error being associated to</p>
<pre><code class="language-json">{  
    ...
    &quot;store&quot;: {
        &quot;provider&quot;:&quot;fs&quot;
    },
    ...
}
</code></pre>
<p>When I remove this, it defaults to using memory</p>
]]></description><link>https://forum.jsreport.net/post/6502</link><guid isPermaLink="true">https://forum.jsreport.net/post/6502</guid><dc:creator><![CDATA[MrGiga]]></dc:creator><pubDate>Fri, 17 Jan 2020 20:56:07 GMT</pubDate></item><item><title><![CDATA[Reply to RootOptions.store.provider requiring value &quot;Memory&quot; on Invalid Date]]></title><description><![CDATA[<p>This looks like a problem with the installation?<br />
What steps did you follow when installing?<br />
Can you try to delete node_modules and package*.json and install again?</p>
]]></description><link>https://forum.jsreport.net/post/6503</link><guid isPermaLink="true">https://forum.jsreport.net/post/6503</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to RootOptions.store.provider requiring value &quot;Memory&quot; on Invalid Date]]></title><description><![CDATA[<p>I tried deleting and recreating, I am still getting the same issue.</p>
<p>Here is my install instructions. I have installed this on 4 servers with no issues, and then I rebooted three of them which those no longer work properly. Its quite confusing. I might try a clean install.</p>
<h1>install node.js</h1>
<p>sudo curl -sL <a href="https://deb.nodesource.com/setup_8.x" rel="nofollow">https://deb.nodesource.com/setup_8.x</a> | sudo bash -<br />
sudo apt-get install -y nodejs</p>
<h1>install jsreport</h1>
<p>cd /opt<br />
sudo mkdir jsreport<br />
sudo chown svc:dev jsreport<br />
sudo chmod g+w jsreport<br />
cd jsreport<br />
mkdir logs<br />
sudo mkdir /opt/.npm-global<br />
sudo chown svc:dev /opt/.npm-global<br />
sudo chmod g+w /opt/.npm-global<br />
npm config set prefix '/opt/.npm-global'<br />
export PATH=/opt/.npm-global/bin:$PATH<br />
source ~/.profile<br />
sudo npm i -g jsreport-cli<br />
jsreport init</p>
<h1>chrome dependencies</h1>
<p>sudo apt-get install -y libgconf-2-4<br />
sudo wget -q -O - <a href="https://dl-ssl.google.com/linux/linux_signing_key.pub" rel="nofollow">https://dl-ssl.google.com/linux/linux_signing_key.pub</a> | sudo apt-key add -<br />
sudo sh -c 'echo &quot;deb [arch=amd64] <a href="http://dl.google.com/linux/chrome/deb/" rel="nofollow">http://dl.google.com/linux/chrome/deb/</a> stable main&quot; &gt;&gt; /etc/apt/sources.list.d/google.list'<br />
sudo apt-get update<br />
sudo apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst --no-install-recommends<br />
sudo rm /etc/apt/sources.list.d/google.list<br />
node server.js</p>
<h1>start the jsreport server manually on port 5488 (optional)</h1>
<p>node server.js <br />
--rootDirectory=&lt;rootDirectory&gt; <br />
--configFile=&lt;configFile&gt; <br />
--logger.file.filename=&lt;logger&gt; <br />
--error.file.filename=&lt;error&gt;</p>
]]></description><link>https://forum.jsreport.net/post/6505</link><guid isPermaLink="true">https://forum.jsreport.net/post/6505</guid><dc:creator><![CDATA[MrGiga]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to RootOptions.store.provider requiring value &quot;Memory&quot; on Mon, 20 Jan 2020 20:08:09 GMT]]></title><description><![CDATA[<p>Looks like its a permission issue on created jsreport files in the temp folder along with a misconfigured supervisord</p>
<p>Edit 1: Proper permissions in temporary folder with a reboot still causes the error.</p>
<p>Edit 2: Reboot clears temporary drive which deletes /tmp/jsreport/core/locations.json. I believe it is being caused my supervisord which is creating a location.json file that contains only the following:</p>
<pre><code class="language-json">{&quot;/opt/jsreportdev/node_modules/&quot;:{&quot;locations&quot;:[],&quot;lastSync&quot;:1579548899228}}
</code></pre>
<p>Edit 3: On my server node server.js only works with parameters after I have initially ran &quot;node server.js&quot; by its self first (and killed it). So running the following commands in the exact order  (after reboot) causes jsreport to not throw the original error</p>
<p>node server.js<br />
&lt;kill it after it reports &quot;init: reporter initialized&quot;&gt;<br />
node server.js<br />
--rootDirectory=&lt;rootDirectory&gt;<br />
--configFile=&lt;configFile&gt;<br />
--logger.file.filename=&lt;logger&gt;<br />
--error.file.filename=&lt;error&gt;</p>
<p>After that point I can run node server.js with parameters whenever I want and there are no issues. Once I remove &quot;/tmp/jsreport/&quot; and try to run it with the parameters, it fails with the original error. To get it working again I have to delete &quot;/tmp/jsreport/&quot; again (since I ran node server.js with parameters and it created a bad file), and then run &quot;node server.js&quot;</p>
]]></description><link>https://forum.jsreport.net/post/6506</link><guid isPermaLink="true">https://forum.jsreport.net/post/6506</guid><dc:creator><![CDATA[MrGiga]]></dc:creator><pubDate>Mon, 20 Jan 2020 20:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to RootOptions.store.provider requiring value &quot;Memory&quot; on Invalid Date]]></title><description><![CDATA[<p>I will try to follow your install steps when I find some free time.</p>
<p>In the meantime, you can disable the extension locations cache in <code>locations.json</code></p>
<p>node server.js --useExtensionsLocationCache=false</p>
]]></description><link>https://forum.jsreport.net/post/6509</link><guid isPermaLink="true">https://forum.jsreport.net/post/6509</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to RootOptions.store.provider requiring value &quot;Memory&quot; on Tue, 21 Jan 2020 18:23:38 GMT]]></title><description><![CDATA[<p>I think I solved it. My rootDirectory is pointed to the root directory of my code and not where jsreport is actually installed. Thus when I pass the parameters its looking in different location then where my extensions are installed.</p>
]]></description><link>https://forum.jsreport.net/post/6513</link><guid isPermaLink="true">https://forum.jsreport.net/post/6513</guid><dc:creator><![CDATA[MrGiga]]></dc:creator><pubDate>Tue, 21 Jan 2020 18:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to RootOptions.store.provider requiring value &quot;Memory&quot; on Invalid Date]]></title><description><![CDATA[<p>Ah ok. Yes, that is how it works.</p>
]]></description><link>https://forum.jsreport.net/post/6515</link><guid isPermaLink="true">https://forum.jsreport.net/post/6515</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>