Can not download message using CLI after upgrade to 4.23
After upgrade of Datovka to 4.23, download of a message from ISDS fails using CLI. There probably was some change of the database structure, which was not applied correctly? The installation of this Datovka is never used with GUI, only through CLI. It runs on CentOS, installed from official CZ.NIC build. The download succeeds only when initiated from GUI.
For example this command
/bin/datovka --login="username='xyz123'" --get-msg "dmID='1234567890',dmType='received',download='ondemand',markDownload='no',zfoFile='/tmp/tmp-48473lAcJL8j65I4J'"
results in this output and no message downloaded:
Could not load localisation file 'qtbase_en_US' from directory '/usr/share/qt5/translations'.
Cannot access database to store message '1234567890'.
D-CLI: error(1) : Error while downloading received message
Same command with debug enabled:
Delaying the opening of connection 'GLOBALDBS_xyz123_2023' to database file '/home/datovka/.dsgui/xyz123_2023___0.db'.
Opening connection 'GLOBALDBS_xyz123_2023' to database file '/home/datovka/.dsgui/xyz123_2023___0.db'.
Assuring primary key in process_state table in database '/home/datovka/.dsgui/xyz123_2023___0.db'.
Assuring attNum column in files table in database '/home/datovka/.dsgui/xyz123_2023___0.db'.
Assuring dmVODZ, attsNum columns in supplementary_message_data table in database '/home/datovka/.dsgui/xyz123_2023___0.db'.
Using default behaviour of the SQLite engine for database '/home/datovka/.dsgui/xyz123_2023___0.db'.
libdatovka sec: Selected authentication method: no certificate, username and password
Starting download owner info task in thread '0x7f7b6df49700'
Download owner info task finished in thread '0x7f7b6df49700'
Starting download user info task in thread '0x7f7b6df49700'
Download user info task finished in thread '0x7f7b6df49700'
Starting download long term storage info task in thread '0x7f7b6df49700'
Download long term storage info task finished in thread '0x7f7b6df49700'
Starting download password info task in thread '0x7f7b6df49700'
Download password info task finished in thread '0x7f7b6df49700'
Trying to download complete message '1234567890'
Cannot access database to store message '1234567890'.
D-CLI: error(1) : Error while downloading received message
Waiting for pending worker threads.
All worker threads finished
Stopping at 1701350193.107; ran for 1.041 seconds.
Successful ISDS clean-up.