Can’t deploy with docker when project name has a dot in it

still cant work this out, have googled this and that, no joy, whilst i can start docker in docker app my db shows no data which i guess is because wappler doesnt see it as runnig, now wated nearly my entire day trying to resolve what i feel is a bug in this release :frowning: and if an expected outcome then there needs to be some document on how to resolve, we are not all technical people, hence we come to low code environments to try to get a job done and then lose a day or our time trying to get our site back up and running.

thanks for some help

Looking further on your project name, seems it is with a dot after the www while the one before is without dot…

Did you changed your project name?

nope changed nothing, I messaged on here about pdf, you said it was being released today, went out, got email come home, updated and now cannot get it working :frowning: i have a few projects with . and -, i tend to use my url as the project name as my projects are my websites

Are you having trouble with your local development target only?

i only have it setup for local development, i zip and ftp manually to production as my host mke it very hard with keep restricting by IP, so i only have it setup as per the screenshots up top, thanks

Well it seems the whole problem is related to having a dot in the project name or project folder. Seems that is invalid with the new docker.

If that is a local project only you can try to rename it.

Will see if we can auto strip dits from the docker project names in the future

so to rename a project and folder it is safe to just rename folder, then in wappler rename project and give it path to newly renamed folder? I have broken a project in the past, wan to get it right as spent 2 months on this project and hate to mess it up now, thanks (I have made a back up as well)

yes definitely backup it first.

Then just delete the project from Wappler’s project manager (this will just unlist it) then rename the folder and then re-add the project by importing the folder (from the project manager toolbar)

so i deleted project. renamed folder, went to projects “open existing folder” (as no import option), selected renamed folded and it recreated project with old name that wont run. Have I missed a step? not seeing the import button? do i need to edit the json file in wappler to alter project name in there? thanks

Yes sorry it was the open existing project.

So how it goes now?

yeah that didn’t work, as, opening existing folder re-created project with same name (as above) (www.cubico-storage.es), surely i will need to edit the json file in wappler folder and manually rename the project in the file, otherwise each time it just sets up the same wrongly named project

so i edited project.json, changed project name to AeG, open project folder, project name is now correct, but it does not like the “dockerProjectName”: “www.cubico-storage__development”

not sure how i change that? can I jus change that in project.json? will it setup a new docker instance? (I think so)

so i finally got my project to spin up. i had to delete project from wappler. edit project.json and change project name to match new folder name, i also had to edit the docker name in the json file to match whatt docker had as the container, and now it starts without error… bt… some of my Db queries that 100% worked now do not work :frowning:

1 Like

fixed the db error, the update RESET my db connect “prepare statements” from true to auto… s

1 Like