> On May 26, 2018, at 5:13 AM, maniek <settl...@gmail.com> wrote:
> 
> I installed GnuCash 2.6.x on Fedora 27 on virtual machines. Everything works
> fine.
> 
> I did again a test on fedora 28 and GnuCash erases all records during
> opening a database. I can't find anything special in logs except /No
> pre-existing state found, creating new one/:
> 


> * 13:59:00  INFO <gnc.app-utils> [gnc_state_get_current] No pre-existing
> state found, creating new one

is before 

> * 13:59:11  INFO <qof.session> [QofSessionImpl::load_backend]  Selected
> provider GnuCash Libdbi (MYSQL) Backend
> * 13:59:11  INFO <gnc.backend.dbi> [adjust_sql_options] Initial sql_mode:
> STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
> * 13:59:11  INFO <gnc.backend.dbi> [GncDbiBackend<Type>::session_begin]
> logpath=/home/gnucash_user/.local/share/gnucash/translog/mysql_localhost_root_gnucash_2018
> * 13:59:11  INFO <qof.session> [QofSessionImpl::begin] Done running
> session_begin on backend

Which is where GnuCash starts loading the database. This is more likely the 
problem:

> * 13:59:11  INFO <gnc.backend.sql> [query_transactions] Query SELECT * FROM
> transactions returned no results

MySQL apparently didn’t set an error, but maybe there’s some info in the logs 
about why that would be.

There’s no query there that would explain why the actual database is emptied 
either. Maybe the MySQL logs can shed some light on that as well.

Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to