Save error when changed web service name in docker compose file

OS info

  • Operating System : Mac OSX 23.4.0
  • Wappler Version : 6.7.0

Problem description

I can't save my project settings any more, so I can't add a new target with the UI.
(I can add the details, but it won't save, so never gets set up.)

Steps to reproduce

  1. Open project settings, try to click save button (nothing happens)
  2. Use cmd+s instead, and get this message:

It happened a while back, and I've been having to manually change the config / project files to edit targets when required since then.
(I've tried all sorts to fix it, from recreating the project / deleting and re-adding existing targets / checking the settings on a 'clean' project with matching targets and comparing with my settings... Nothing has helped.)

I assume it's because I've had to customise a couple of things in my docker-compose file...
(I think that might have been when it started.)

  • I have a set of Docker containers in a network, so had to specify a container name, host name, network and ports.
  • I haven't got any database stuff set up in project settings.
  • I'm using a redis container I set up manually on my VPS (using the container name as the connection link).

My current targets:


There's nothing obvious in the debug log files in terms of what is missing at my end, unless it's something to do with the fact that I don't have a 'db' option in my database manager?
I'm using a digitalocean managed database, added as detailed in Hyperbyte's video tutorial (via globals and database manager, not project settings).

Is it a bug?
... or did I just break something...? :grimacing::see_no_evil:

report1718789191358.zip (175.1 KB)


All works correctly, but several videos mention the fact that Wappler sets up a 'db' connection for you automatically, so thought it might be relevant that I don't have one. :woman_shrugging:t2:

This is probably unrelated but do you have any hash symbols in any of the passwords used?

Do you mean MY passwords (like for digitalocean connections etc), or something else?
No hash symbols in any of my connections / secret keys / api keys etc.

well in the docker_compose.yml file the 'depends_on' is usually added on the 'web' service.

You didn't renamed the web service or so?

Ah! That could be it.
Yes. I have changed the service name because I need to be able to reference it within my Docker network.

I've got two separate sites (from two separate projects), each with their own container, and an nginx docker container working as a reverse proxy.
I can't use 'web' in both projects when I publish.

I'll try switching it back to web to see if that lets me get my targets set up - I can then switch it back again I guess!

MAGIC!! Switched it back to web and it now saves.

Thanks George! :grin:
Wish I'd asked sooner... :joy:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.