-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network "odoo-13_default" needs to be recreated - option "encrypted" has changed #307
Comments
|
This happened to me after executing the |
You have to recreate the network, either by doing what Pedro has descripted or using docker network commands (docker network ls and docker network rm) |
I have refined my commands for assuring everything is recreated. |
I've made an effort so far to study docker and understand some networking, but not enough to realize why you have to make changes to the network. You may also need to study Traefik and understand the difference between a development and production environment. I must continue studying! Maybe what I want cannot be done, I want to stop using development mode and go to production with the same copier project |
Sorry, I did not understand the message |
Check my edited original commands |
Great, I got it, just that I was late and ran other commands that maybe damaged something and now when I run
and I don't know why... In theory, it should be possible to switch between the 3 types of environment, right? Development, test and production, right? I still can't make use of a suitable recipe for this purpose |
Make sure prod.yaml is not dirty, maybe "git checkout prod.yaml" can help.
If it is not dirty, can you send your prod.yaml in order to see the error?
El jue, 25 may 2023 a la(s) 23:51, pleirb ***@***.***)
escribió:
… Check my edited original commands
Great, I got it, just that I was late and ran other commands that maybe
damaged something and now when I run
docker-compose down --remove-orphans
I get this error:
yaml.scanner.ScannerError: mapping values are not allowed here
in "./prod.yaml", line 28, column 41
and I don't know why...
—
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKHHRPAIOO5C6MC4DXT4K3XIALCNANCNFSM4NDP2SVQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Santiago J. Said
|
Thanks for answering
|
I'm using nginx as a reverse proxy, and use this prod.yaml to deploy in production
|
Thank you all! In the end, this type of error and others occurred to me from trying to change the environment and luckily what was happening to me was nonsense, whoever is interested, what they comment here has helped me: #418 |
Following all the steps indicated in the new doodba-copier manual, I put the docker containers into operation without problems. But when trying to start production mode with the following command, I get this error.
$ docker-compose -f prod.yaml up
WARNING: The SMTP_REAL_NON_CANONICAL_DEFAULT variable is not set. Defaulting to a blank string.
ERROR: Network "odoo-13_default" needs to be recreated - option "encrypted" has changed
What I can do?
Thank you
The text was updated successfully, but these errors were encountered: