For temporary (to less) space reasons:
Could I connect a database to another drive than C:\lianja\data\ and C:\Lianja\cloudserver\tenants\public\data\
And how?
Thanks Georg
For temporary (to less) space reasons:
Could I connect a database to another drive than C:\lianja\data\ and C:\Lianja\cloudserver\tenants\public\data\
And how?
Thanks Georg
Hi Georg,
See:
https://www.lianja.com/doc/index.php...gs#Directories
https://www.lianja.com/doc/index.php...ndows#Settings
Regards,
Yvonne
Thank you, Yvonne!
I know where the directories for the cloud server are entered.
However, is it possible to change the data directory for a single application?
Hi Georg
No the data directories in web apps are shared across all Apps.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Thank you, Barry!
Last question:
How could I change the datadir of the App Builder?
Does it make sense to put a Lianja.setAttr("datadir",....) anywhere?
Hi Georg
You change the location of the data directory in the app inspector / app settings / data directory. This will persist after closing and reopening the app builder.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
Unfortunately that does not work!You change the location of the data directory in the app inspector / app settings / data directory. This will persist after closing and reopening the app builder.
My proceed:
I copy the database xyz for the app abc
from
c:\lianja\data\ e.g. to e:\lianja\data\
and enter that into the app attributes.
The app says => the database is not found.
Also, the database, which is now located at e:\lianja\data\xyz, cannot be displayed in the data work space.
The following in the console work space does also not work:
> cd e:\lianja\data\ or e:\lianja\data\xyz
> open database xyz
=> The database is not found.
However, the tables can be displayed after use table.
Hi Georg,
Did you click the green tick after changing the Data Directory App Setting?
https://www.lianja.com/doc/index.php...ing_Attributes
What does this return?
Regards,Code:? Lianja.datadir
Yvonne
Very strange but not it is ok!
I will observe it further...
The console workspace: Is it necessary to select the new data directory?
I didn't use the "app inspector" but the cog for "app settings".
I had a botton with forin my app:Lianja.getAttr("datadir");
Result for datadir and appdir was ok everytime... althougt the database wasn't found.
Thanks you!
Can you attach a screenshot with the App setting and the Console result of
Regards,Code:? Lianja.datadir
Yvonne
Bookmarks