Docker install Build Postgres DB: Failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
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
Solved! Go to Solution.
- Labels:
-
Containers
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Resolved.
It seems to be a dns issue.
I put 8.8.8.8 DNS and it worked.
