Recommended fix in both cases above:

  1.   Run the <tt>fossil sql</tt> command to get an interactive SQLite shell.

  2.   Type "<tt>PRAGMA journal_mode=WAL;</tt>"