[Bug] vserver files raises exception
**Describe the bug**
`vserver files --user` throws exception after selecting  

**To Reproduce**
Steps to reproduce the behavior:
1. run `vserver files --user`
2. Select configuration
3. See exception being thrown .. 

**Expected behavior**
No exceptions!

**Screenshots**
<img width="1256" alt="image" src="https://github.com/vantage6/vantage6/assets/9558262/aa2c1260-6b1d-47cd-a0a6-f921b6c16cc0">

**Details**
```
? Select the configuration you want to use: stimpy                    prod
[info ] - Configuration file = /Users/melle/Library/Application Support/vantage6/server/stimpy.yaml
[info ] - Log file           = /Users/melle/Library/Logs/vantage6/server/stimpy.log
Traceback (most recent call last):
  File "/Users/melle/.virtualenvs/DHD/bin/vserver", line 8, in <module>
    sys.exit(cli_server())
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/vantage6/cli/server.py", line 111, in func_with_context
    return func(ctx, *args, **kwargs)
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/vantage6/cli/server.py", line 377, in cli_server_files
    info(f"Database           = {ctx.get_database_uri()}")
  File "/Users/melle/.virtualenvs/DHD/lib/python3.8/site-packages/vantage6/cli/context.py", line 86, in get_database_uri
    url.database = str(self.data_dir / url.database)
AttributeError: can't set attribute
```

diff --git a/vantage6/vantage6/cli/context.py b/vantage6/vantage6/cli/context.py
index fd009150..406ff867 100644
--- a/vantage6/vantage6/cli/context.py
+++ b/vantage6/vantage6/cli/context.py
@@ -81,10 +81,18 @@ class ServerContext(AppContext):
         uri = os.environ.get("VANTAGE6_DB_URI") or self.config['uri']
         url = make_url(uri)
 
-        if (url.host is None) and (not os.path.isabs(url.database)):
-            # We're dealing with a relative path here.
-            url.database = str(self.data_dir / url.database)
-            uri = str(url)
+        if url.host is None and not os.path.isabs(url.database):
+            # We're dealing with a relative path here of a local database, when
+            # we're running the server outside of docker. Therefore we need to
+            # prepend the data directory to the database name, but after the
+            # driver name (e.g. sqlite:////db.sqlite ->
+            # sqlite:////data_dir>/db.sqlite)
+
+            # find index of database name
+            idx_db_name = str(url).find(url.database)
+
+            # add the datadir to the right location in the database uri
+            return str(url)[:idx_db_name] + str(self.data_dir / url.database)
 
         return uri
 
['vantage6/vantage6/cli/context.py']