Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

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

  1. #11
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,841
    And, also from the Console:

    Code:
    list schemas
    Regards,

    Yvonne

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

  3. #13
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,841
    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

  4. #14
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    258
    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!

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

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

    Regards,

    Yvonne

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

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

    Try this:

    1. Delete or rename your folders in E:\lianja\data\ that have '!' in the folder name.
    2. Create a text file called config.db in the C:\lianja\config\ folder and give it the content below:

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

    Yvonne

    P.S. No notification is sent if you edit a forum post, so it is better to write a new post if you want to add or correct any information as otherwise it might not be seen.

  8. #18
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    258
    >> 1. Delete or rename your folders in E:\lianja\data\ that have '!' in the folder name. <<

    Ok. The ! in xyz! database is a marker "don't use it" only

    >> 2. Create a text file called config.db in the C:\lianja\config\ folder and give it the content below... <<

    Do you mean "C:\lianja\conf\" ?

    Thank you!
    Georg
    Last edited by gcjm; 2024-04-08 at 12:21.

  9. #19
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,841
    Sorry, yes - conf folder.

  10. #20
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    258
    Thanks again for the workaround.
    By the way, it looks like the database for the local cloud server is also expected on the changed data drive.

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