davidmonterocrespo24 / odoo_micro_saas

37 stars 37 forks source link

Instance creation failure #29

Closed samako41 closed 10 months ago

samako41 commented 11 months ago

Impacted versions: 16.0 Steps to reproduce: When you click on start instance it starts but on the log, it shows error and that instance was not created Current behavior: image image

Expected behavior: To work well and open with the new port Video/Screenshot link (optional): image

davidmonterocrespo24 commented 11 months ago

Hello, thank you very much for reporting the error. To solve it you must install docker compose

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04

Greetings

samako41 commented 11 months ago

Hello

Please note that I have installed docker compose already and am still getting the same error

On Fri, 20 Oct 2023 at 02:06, David Montero Crespo @.***> wrote:

Hello, thank you very much for reporting the error. To solve it you must install docker compose

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04

Greetings

— Reply to this email directly, view it on GitHub https://github.com/davidmonterocrespo24/odoo_micro_saas/issues/29#issuecomment-1771910366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5QBF3LRF37FKUVJFI7AI3YAHFABAVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRHEYTAMZWGY . You are receiving this because you authored the thread.Message ID: @.***>

davidmonterocrespo24 commented 11 months ago

Hello Please note that I have installed docker compose already and am still getting the same error On Fri, 20 Oct 2023 at 02:06, David Montero Crespo @.> wrote: Hello, thank you very much for reporting the error. To solve it you must install docker compose https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04 Greetings — Reply to this email directly, view it on GitHub <#29 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5QBF3LRF37FKUVJFI7AI3YAHFABAVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRHEYTAMZWGY . You are receiving this because you authored the thread.Message ID: @.>

add the user you are running with in odoo to docker

sudo usermod -aG docker USER

In the log, it says that there was an error executing the docker-compose command. copy that command and run it on your server directly to see if there is no permissions problem

samako41 commented 11 months ago

When I run the command in my server directly, this is what I get as response.

[image: image.png]

Thank you for the willingness to help.

On Fri, Oct 20, 2023 at 6:55 PM David Montero Crespo < @.***> wrote:

Hello Please note that I have installed docker compose already and am still getting the same error … <#m-8012530282475552625> On Fri, 20 Oct 2023 at 02:06, David Montero Crespo @.> wrote: Hello, thank you very much for reporting the error. To solve it you must install docker compose https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04 https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-20-04 Greetings — Reply to this email directly, view it on GitHub <#29 (comment) https://github.com/davidmonterocrespo24/odoo_micro_saas/issues/29#issuecomment-1771910366>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5QBF3LRF37FKUVJFI7AI3YAHFABAVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRHEYTAMZWGY https://github.com/notifications/unsubscribe-auth/AP5QBF3LRF37FKUVJFI7AI3YAHFABAVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRHEYTAMZWGY . You are receiving this because you authored the thread.Message ID: @.>

add the user you are running with in odoo to docker

sudo usermod -aG docker

In the log, it says that there was an error executing the docker-compose command. copy that command and run it on your server directly to see if there is no permissions problem

— Reply to this email directly, view it on GitHub https://github.com/davidmonterocrespo24/odoo_micro_saas/issues/29#issuecomment-1773160010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5QBF7W4LPB535QW65YP3LYAK3HDAVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTGE3DAMBRGA . You are receiving this because you authored the thread.Message ID: @.***>

samako41 commented 11 months ago

image Here is what i get after running the code

rlsoluttionscr commented 10 months ago

error to create instance 1111

rlsoluttionscr commented 10 months ago

ERROR: The Compose file '/odoo/odoo_docker/data/odoo_15_company1/docker-compose.yml' is invalid because: services.odoo15.ports contains an invalid type, it should be a number, or an object services.odoo15.ports contains an invalid type, it should be a number, or an object

samako41 commented 10 months ago

image

I am still this error and it is not working.

Should I share my server credentials for you to see?

davidmonterocrespo24 commented 10 months ago

ERROR: The Compose file '/odoo/odoo_docker/data/odoo_15_company1/docker-compose.yml' is invalid because: services.odoo15.ports contains an invalid type, it should be a number, or an object services.odoo15.ports contains an invalid type, it should be a number, or an object

The error it is showing you is that the ports are invalid, share an image to see how the instance turned out

davidmonterocrespo24 commented 10 months ago

image

I am still this error and it is not working.

Should I share my server credentials for you to see?

Can you run the command that is giving you the error directly on the server to see the more exact error? Update the module with the new improvements I have made

image
samako41 commented 10 months ago

image

I got this error while upgrading the module with your latest push

samako41 commented 10 months ago

Screenshot from 2023-11-10 19-07-51

when I run the command you put above i get this error above.

when I updated the module, I still get this error above

davidmonterocrespo24 commented 10 months ago

Screenshot from 2023-11-10 19-07-51

when I run the command you put above i get this error above.

when I updated the module, I still get this error above

Send me the photo of the instance created in Odoo, where the variables are. The ports are not correct @samako41

samako41 commented 10 months ago

image

samako41 commented 10 months ago

image

samako41 commented 10 months ago

Hello David

I have shared the picture already.

I do appreciate all of your help and effort. I await your response soon.

Many thanks

On Sat, 11 Nov 2023 at 01:25, David Montero Crespo @.***> wrote:

[image: Screenshot from 2023-11-10 19-07-51] https://user-images.githubusercontent.com/66781335/282202501-6c21dd4f-0a6c-42e0-999d-3d3c99bbff2d.png

when I run the command you put above i get this error above.

when I updated the module, I still get this error above

Send me the photo of the instance created in Odoo, where the variables are. The ports are not correct

— Reply to this email directly, view it on GitHub https://github.com/davidmonterocrespo24/odoo_micro_saas/issues/29#issuecomment-1806592161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5QBFY2LKTPC6RSM3OCUCTYD3AWNAVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGU4TEMJWGE . You are receiving this because you authored the thread.Message ID: @.***>

davidmonterocrespo24 commented 10 months ago

Hello David I have shared the picture already. I do appreciate all of your help and effort. I await your response soon. Many thanks On Sat, 11 Nov 2023 at 01:25, David Montero Crespo @.> wrote: [image: Screenshot from 2023-11-10 19-07-51] https://user-images.githubusercontent.com/66781335/282202501-6c21dd4f-0a6c-42e0-999d-3d3c99bbff2d.png when I run the command you put above i get this error above. when I updated the module, I still get this error above Send me the photo of the instance created in Odoo, where the variables are. The ports are not correct — Reply to this email directly, view it on GitHub <#29 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5QBFY2LKTPC6RSM3OCUCTYD3AWNAVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGU4TEMJWGE . You are receiving this because you authored the thread.Message ID: @.>

@samako41

The error has been corrected, update the code on your odoo server

samako41 commented 10 months ago

Thank you so much for your help. I can confirm that this module is now working very well now.

On Sun, Nov 19, 2023 at 3:48 PM David Montero Crespo < @.***> wrote:

Closed #29 https://github.com/davidmonterocrespo24/odoo_micro_saas/issues/29 as completed.

— Reply to this email directly, view it on GitHub https://github.com/davidmonterocrespo24/odoo_micro_saas/issues/29#event-11003925065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5QBF6PCXBRLFLJUII3ATTYFIL33AVCNFSM6AAAAAA6HZZVR2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGAYDGOJSGUYDMNI . You are receiving this because you were mentioned.Message ID: <davidmonterocrespo24/odoo_micro_saas/issue/29/issue_event/11003925065@ github.com>

anoureldin commented 9 months ago

i have same issue on odoo 16

12/06/2023, 19:20:55 [INFO] Docker Compose command executed successfully

12/06/2023, 19:20:55 Error to execute command: Command 'docker-compose -f /opt/odoo/odoo_docker/data/odoo_15_from_template/docker-compose.yml up -d' returned non-zero exit status 1.

12/06/2023, 19:20:55 [INFO] Path to modified docker-compose.yml file

12/06/2023, 19:20:55 [INFO] Archivo odoo.conf creado exitosamente en /opt/odoo/odoo_docker/data/odoo_15_from_template/etc/odoo.conf

12/06/2023, 19:20:55 [INFO] Starting Odoo Instance False