cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Docker install Build Postgres DB: Failed.

AliBenBelgacem
14-Alexandrite

Docker install Build Postgres DB: Failed.

Hello,

 

I am trying to build image of thingworx 9.1 on docker.

this is the tuto i am folowing:

https://support.ptc.com/help/thingworx/platform/r9/en/index.html?_gl=1*76uyjh*_ga*MTQyMTY0MzUwOS4xNjczMjU5Mjcz*_ga_1QBT6P6HR1*MTY3Nzg2NDM4My40OC4xLjE2Nzc4NjQ0NzEuMC4wLjA.#page/ThingWorx/Help/Installation/ThingWorxDockerGuide/thingworx_docker_getting_started.html#

 

failed to compute cache key: "/staging/Thingworx-Platform-Postgres-9-1-14.zip" not found: not found
Build Postgres DB: Failed.

 

More detail on attached file.

 

Any idea to resolve this is welcome.

 

Thank you

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Resolved.

It seems to be a dns issue.

I put 8.8.8.8 DNS and it worked.

View solution in original post

4 REPLIES 4

Hello,

 

You should have "Thingworx-Platform-Postgres-9-1-14.zip" file in the "staging" directory. You need to download this file from the "Software Downloads" section of the PTC Support portal. Your correct folder structure should look like this (ignore the specific versions in this example):

 

.
├── build.env
├── build.sh
├── conf
├── docker-compose-azuresql-clustered
├── docker-compose-azuresql.yml
├── docker-compose-h2.yml
├── docker-compose-mssql-clustered
├── docker-compose-mssql.yml
├── docker-compose-postgres-clustered
├── docker-compose-postgres.yml
├── dockerfiles
├── LICENSE.txt
├── README.md
├── staging
│   ├── amazon-corretto-11.0.10.9.1-linux-x64.tar.gz
│   ├── apache-tomcat-9.0.55.tar.gz
│   ├── platform-settings.json
│   ├── security-common-cli-1.3.1.68-application.tar.gz
│   ├── template-processor-12.1.0.13-application.tar.gz
│   └── Thingworx-Platform-Postgres-9.2.3.zip

 

/ Constantine

Thank you for your answer. 

I already have those files on my staging folder.

I restarted my docker and the error disappear.

Now i have another error  :

 

#13 31.71 Err:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
#13 31.71 Unable to connect to archive.ubuntu.com:http:
#13 31.71 Err:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease

 

see attached file.

 

Thank you

 

Looks like a network issue. Try to turn off your system firewall temporarily and see if it helps. Make sure you are not behind a proxy, not on VPN, etc.

Resolved.

It seems to be a dns issue.

I put 8.8.8.8 DNS and it worked.

Top Tags