question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection Settings do not save after upgrading from v6.2.4 -> v6.2.5

See original GitHub issue

System information:

  • Operating system (distribution) and version: Arch Linux
  • DBeaver version: 6.2.5
  • Additional extensions

Connection specification:

  • Database name and version: MySQL 5.*
  • Driver name: JDBC
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? SSH tunnel

Describe the problem you’re observing:

After upgrading DBeaver from v6.2.4 to v6.2.5 (by downloading the latest .tar.gz and replacing the contents of /usr/share/dbeaver), any edits to the connection settings do not persist between DBeaver restarts. For example, I can rename or edit a connection host and it will save for the duration of the DBeaver session, but when closing and re-opening the program, the settings revert to what they were prior to the edit.

Note that I have used this upgrade method for 6.1.3, 6.1.4, 6.1.5, 6.2.0, 6.2.1, 6.2.2, 6.2.3, and 6.2.4 and never experienced this issue.

Steps to reproduce, if exist:

  1. Have existing connection settings from DBeaver 6.2.4
  2. Edit connection setting (e.g. rename or change host)
  3. Save edit
  4. Restart DBeaver 6.2.5

Include any warning/errors/backtraces from the logs

N/A

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
charukiewiczcommented, Nov 23, 2019

Looks like this was caused by the existence of a .data-sources.json.bak file (according to Java error in ~/.local/share/.DBeaverData/workspace6/.metadata/dbeaver-debug.log)

The fix for this issue:

rm ~/.local/share/.DBeaverData/workspace6/<project name>/.dbeaver/.data-sources.json.bak
1reaction
anderssnpcommented, Nov 25, 2019

Looks like this was caused by the existence of a .data-sources.json.bak file (according to Java error in ~/.local/share/.DBeaverData/workspace6/.metadata/dbeaver-debug.log)

The fix for this issue:

rm ~/.local/share/.DBeaverData/workspace6/<project name>/.dbeaver/.data-sources.json.bak

@charukiewicz Thanks!

I had exactly the same problem on my Mac, and this helped me solve the problem. Some minor differences: location of the file was: ~/Library/DBeaverData/workspace6/General/.dbeaver/.data-sources.json.bak

So, on Mac, please do rm ~/Library/DBeaverData/workspace6/General/.dbeaver/.data-sources.json.bak.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cisco Firepower Release Notes, Version 6.4 - Upgrade the ...
When you upgrade an FTD device, its new Snort Fail Open setting depends on its old Failsafe setting, as follows. Although the new...
Read more >
v7.2 is released! - MikroTik - Forum
RouterOS version 7.2 has been released in "v7 stable" channel! Before an upgrade: 1) Remember to make backup/export files before an upgrade ......
Read more >
Fix list for WebSphere MQ V6 - IBM
WebSphere MQ provides periodic fixes for release 6.0. The following is a complete listing of available and scheduled fixes for Version 6.0 with...
Read more >
Z/IP ONE Software v6.0.0r Update Instructions and Release ...
It is very important not to shut the Z/IP ONE off during this time! When the update is done, you will see a...
Read more >
7 Managing the Greenbone Operating System - TechDoc Portal
By selecting No or Cancel and pressing Enter the setup wizard is closed. 7.1.2.2.2 Accessing the GOS Administration Menu Using SSH¶. Note. When...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found