1. Beatrix Willius
  2. Valentina Server
  3. Sunday, June 13 2021, 11:40 AM
  4.  Subscribe via email
1. I've got several questions with changing the database directory.

What should happen if I change the database directory? Should the databases change the directory? Should I change them myself? See screenshot 1. I changed the directory. Some databases have been copied to the new location (master, usergroups). One database (mail archiver) has not been copied.

2. I've accidentally deleted the new folder that I made.

vserver.ini shows the correct path.

; The path, where sysdatabase are stored.
SYSTEMFOLDER = /Users/beatrixwillius/Desktop/untitled folder

Valentina Studio does not show the path. See screenshot 2.

3. If I now create a database with my server management interface. It's created at dev/0 without any error. It's there but not really. See screenshot 3 from VStudio.

2 + 3 are bugs. But what should happen for 1?
Attachments (3)
There are no comments made yet.
Ivan Smahin Accepted Answer
Changing db directory in the INI, you just tell vServer where dbs are located. It's your responsibility to move old databases (new ones will be created there). Then, register them to the master (unregister old ones first if you have copied "old" master db).

Master db is created by vServer self (if it is absent). So vServer sees no master db in the "new" location and creates new one (not a copy - just new master db).

Changing this INI param do nothing for the running vServer instance. It will be applied on the next vServer start.

roducts:vserver:manual:ini_file" target="_blank" rel="nofollow">https://valentina-db.com/docs/dokuwiki/v11/doku.php?id=valentina:products:vserver:manual:ini_file
There are no comments made yet.
  1. more than a month ago
  2. Valentina Server
  3. # 1
Beatrix Willius Accepted Answer
Copying the master.vdb makes sense. My app makes a copy of the usergroups.vdb so I need to watch out for that. Copying the databases to the new location also makes sense.

Of course, I had restarted the server. So issues 2+3 really are bugs. I'll add them to Mantis.
There are no comments made yet.
  1. more than a month ago
  2. Valentina Server
  3. # 2
  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.