Metasploit Postgresql Database default workspace error

What have you tried: Making a new wors=kspace

What is the error:Error while running command db_connect: Couldn’t find workspace default
What device is this on: Kali Linux Parallels


[-] Error while running command db_status: Couldn’t find workspace default

Call stack:
/usr/share/metasploit-framework/lib/msf/util/db_manager.rb:52:in process_opts_workspace' /usr/share/metasploit-framework/lib/msf/core/db_manager/event.rb:55:in block in report_event’
/usr/share/metasploit-framework/vendor/bundle/ruby/3.3.0/gems/activerecord-7.0.8.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:215:in with_connection' /usr/share/metasploit-framework/lib/msf/core/db_manager/event.rb:54:in report_event’
/usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/event_data_proxy.rb:18:in block in report_event' /usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/core.rb:164:in data_service_operation’
/usr/share/metasploit-framework/lib/metasploit/framework/data_service/proxy/event_data_proxy.rb:16:in report_event' /usr/share/metasploit-framework/lib/msf/core/framework.rb:328:in report_event’
/usr/share/metasploit-framework/lib/msf/core/framework.rb:377:in on_ui_command' /usr/share/metasploit-framework/lib/msf/core/event_dispatcher.rb:145:in block in method_missing’
/usr/share/metasploit-framework/lib/msf/core/event_dispatcher.rb:143:in each' /usr/share/metasploit-framework/lib/msf/core/event_dispatcher.rb:143:in method_missing’
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:408:in block in on_startup' /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in block in run_single’
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in each' /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in run_single’
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:165:in block in run' /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:309:in block in with_history_manager_context’
/usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:37:in with_context' /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:306:in with_history_manager_context’
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in run' /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in start’
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in start' /usr/bin/msfconsole:23:in
msf6 >

what workspaces do you have?

workspace -l

Can you connect to other ones?

(you don’t happen to be the one that asked the question on stackoverflow today? ^^)