Creating a new local project using docker no longer creates a database

Wappler Version : 6.7
Operating System : MacOS Sonoma
Server Model: Node JS
Database Type: Postgres
Hosting Type: local

Expected behavior

What do you think should happen?

Creating a new project and selecting docker has always created a new database. Now it does not. Not even through the database manager.

Actual behavior

What actually happens?

There is no database. The project settings show something, and there is something listed in Resource Manager, but they mean nothing. There is no database in my docker hub. The database that shows up in the Resource Manager shows up as Postgres, even if I choose MySQL. Whatever is going on in project settings is a mystery to me. I have no idea why all those database fields are filled when there is no database.

I have attempted to create a database from the database manager several times. If I try to add a new connection the modal wants me to connect something already existing, which doesn't serve my purposes at all. Attempting to add a database through the resource manager throws lots and lots of errors.

I have uninstalled and reinstalled many times. I have created many new projects. No luck.

I've searched the forum to see if anyone else is having this problem, but I haven't seen anything. It's possible it's just me and I need a nap, but since I've been trying everything for hours and haven't gotten anywhere, I'm forced to submit.

How to reproduce

  1. Create a new Project

  1. See all of my fun project settings

  1. See how the project settings say MySQL and the Resource Manager says Postgres.

  1. The database manager says I have no connections

  1. Docker also says I don't have one.

  1. Let's try to add one through the database manager

I don't think this way is going to work unless I just don't know what I'm doing at all. Definitely is possible that I don't.

  1. And finally, let's try the way of the Resource Manager

  1. Tacking on one final problem: it won't let me delete the new database. It still throws the creation errors.

1 Like

Update:

Creating a new project now does create a database in docker but wappler doesn't connect to it.

It's not in the Resource Manager:

It's not in the Database Manager:

But it is in Docker:

Trying to deploy services in the resource manager throws an "Error Launching Services"

I was also previously getting errors connecting to the database that did show up. but now, none shows up.

This has never not worked for me before. Can someone please help?

I tried to connect to the database in docker. This is what happens every single time.

Here it is in Resource Manager

Hey,

I don't have time to test if it's working, but I came to tell you something so you avoid being confused:

Resource Manager is independent from the project. For example, my Resource Manager is empty, 0 databases, despite I use Docker with MariaDB database :slight_smile:

So, don't look at Resource Manager, because it has nothing to do with the current project settings

Yes, thank you for this. The problem for me is that the database manager does not connect to any database at all. I'm referring to the resource manager only to connect to a new database. In my old projects, The database I used and the one I connected to in the database Manager were the same.

another update:

I reverted to Wappler 5.8.2 and everything works perfectly. There is definitely a bug or 2. I see another topic that looks to be a related issue:
https://community.wappler.io/t/unable-to-save-project/56934/12

1 Like