Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: How could I connect a database to another drive than C:\lianja\...

Hybrid View

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264

    How could I connect a database to another drive than C:\lianja\...

    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

  2. #2

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264
    Strange: Again the error!
    >> Lianja runtime error(42): Variable/field 'INHALT_GOTTESLOB' not found
    INHALT_GOTTESLOB->ID <<

    Although I didn't change anything.
    I only started the my VirtualBox (win10) and Lianja App Builder again (for your question).

    ? Lianja.datadir =>
    e:\Lianja\data\\ --> --> I looks like the second \ is the problem

    Instead of a screenshot (ok?)
    Directories:
    e:\Lianja\data\
    C:\Lianja\apps\
    C:\Lianja\library\
    C:\Lianja\templates\
    C:\Lianja\cloudserver\tenants\public\

    list schemas =>
    e:\Lianja\data\\ --> See the second \ ! It seems the databases of C: are valid!!
    Databases: C:\Lianja\data\
    backups
    calender_thomas_sauer
    cloudlibtest
    debo_db
    domodb_b_bautzen
    domodb_b_cottbus
    janadrdb
    lianja
    oledbtest
    rosenkranz
    southwind
    system
    system_orig
    translations

    on C: missing gotteslob database (it was to big for C
    Last edited by gcjm; 2024-04-08 at 07:56.

  4. #4
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,842
    Hi Georg,

    With your App closed, what do you get if you issue the following in the Console:

    Code:
    set datadir to e:\lianja\data\
    list schemas
    Regards,

    Yvonne

  5. #5
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264
    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?

  6. #6
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,183
    Blog Entries
    22
    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

  7. #7
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264
    Databases: e:\lianja\data\
    backups
    calender_thomas_sauer
    cloudlibtest
    domodb_b
    domodb_b_bautzen
    domodb_b_bautzen!
    domodb_b_cottbus
    domodb_b_def
    gcjm_hilfen
    gcjm_lernt
    gcjm_test2
    gcjm_tests
    gotteslob
    janadrdb
    lianja
    rosenkranz
    southwind
    southwind01
    southwind02
    system
    system!
    system!!
    translations

    these are the right "E:" databases!

  8. #8
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,842
    Hi Georg,

    Can I see your C:\lianja\log\log.txt file contents?

    Regards,

    Yvonne

  9. #9
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264
    lianja session started at Mo Apr 8 15:48:38 2024
    debugPath=C:\Lianja\\debug\debug_client_6288.txt
    LIANJA_LICENCESDIR=
    applicationDirPath=C:/Lianja/bin
    applicationFilePath=C:/Lianja/bin/lianja.exe
    supportsSsl=1
    activeGeometry=0,0,1680,951
    screenGeometry=0,0,1680,991
    StartDir=C:/Lianja/bin
    HomeDirectory=C:/Users/georg
    LIANJA_LOCALE=
    system locale=de_DE
    devicePixelRatio=1
    utf8=true
    g_locale_utf8=1
    QT_DEVICE_PIXEL_RATIO=auto
    Webkit initWebKitSettings()
    Webkit cache location is in 'C:\Lianja\bin\cache\'
    Webkit JavaScript is enabled
    Webkit JavascriptCanAccessClipboard is enabled
    Webkit JavascriptCanOpenWindows is enabled
    Webkit Plugins are enabled
    Webkit LocalStorage is enabled
    Webkit LocalContentCanAccessRemoteUrls is enabled
    Webkit DnsPrefetchEnabled is enabled
    Webkit PrintElementBackgrounds is enabled
    Maximum command length is 16 KB
    Maximum string length is 64 KB
    tenancy=
    runtimedir=
    rootDirectory=C:\Lianja\
    appsDirectory=C:\Lianja\apps\
    dataDirectory=e:\Lianja\data\
    libDirectory=C:\Lianja\library\
    cloudDirectory=C:\Lianja\cloudserver\
    PythonDirectory=C:\Lianja\bin\lianja.exe\lianja\cl oudserver\scriptinglanguages\python3\
    g_codecForCStrings=0
    There is 34 percent of memory in use.
    There are 5017140 total KB of physical memory.
    There are 3261388 free KB of physical memory.
    There are 14454324 total KB of paging file.
    There are 12855164 free KB of paging file.
    There are 2097024 total KB of virtual memory.
    There are 1333844 free KB of virtual memory.

  10. #10
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    264
    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?

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us