How do i install exiftool on heroku - django

i have tried the buildpack but non worked. i got these error when trying to install https://github.com/velizarn/heroku-buildpack-exiftool
Installing exiftool 11.36
Fetching https://123456.mycdn.org/downl/Image-ExifTool-11.36.tar.gz
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
! Push rejected, failed to compile exiftool app.
! Push failed
please can someone assist me. my django needs exiftool before it can work.

Related

Failed to deploy hyperledger-fabric

this is my first time deploy hyperledger in my machine. i follow the tutorial from this. i already installed go version 1.19 and just download docker. when i try to run this command ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go i got an error
Error: failed to read chaincode package at 'basic.tar.gz': open basic.tar.gz: no such file or directory
PACKAGE_ID=
Error: failed to normalize chaincode path: 'go list' failed with: error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.: exit status 1
i already try to use this command go env -w GO111MODULE=auto and still got nothing.
i am using go version go1.19.5
i hope i can just to deploy the tutorial.

How to install deb package in aws codebuild worker container

I'm trying to build docker container and push to to ECR repository. All is working fine locally, but once moved to AWS I'm getting error:
dpkg-deb: error: 'docker-ce_20.10.3_3-0_ubuntu-bionic_amd64.deb' is not a Debian format archive
dpkg: error processing archive docker-ce_20.10.3_3-0_ubuntu-bionic_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
from following commands in Docker file:
COPY docker-assets/docker-ce_20.10.3_3-0_ubuntu-bionic_amd64.deb /home/folder/
RUN dpkg -i docker-ce_20.10.3_3-0_ubuntu-bionic_amd64.deb
Can anyone hit the same issue / help me out ?
I did workaround this with URL

AWS Amplify CLI: An error occurred when pushing the resources to the cloud

I'm trying to upload some changes to a lambda function to the backend using amplify push. I've used it quite a few times with no issues whatsoever, but all of a sudden I've been getting errors and cannot push resources to the cloud
The errors happen after the following gets done:
Successfully pulled backend environment dev from the cloud.
I've been getting various error messages. This is the first:
Command failed with exit code 1: C:\Users\Name\go\bin\build-lambda-zip.exe -o H:\Documents\React
JS\ihubdashboard\amplify\backend\function\testgo\dist\latest-build.zip H:\Documents\React
JS\ihubdashboard\amplify\backend\function\testgo\bin\main
failed to compress file: open H:\Documents\React
JS\ihubdashboard\amplify\backend\function\testgo\bin\main: The system cannot find the file specified.
An error occurred during the push operation: Command failed with exit code 1:
C:\Users\Name\go\bin\build-lambda-zip.exe -o H:\Documents\React
JS\ihubdashboard\amplify\backend\function\testgo\dist\latest-build.zip H:\Documents\React
JS\ihubdashboard\amplify\backend\function\testgo\bin\main
failed to compress file: open H:\Documents\React
JS\ihubdashboard\amplify\backend\function\testgo\bin\main: The system cannot find the file specified.
This was the other:
Command failed with exit code 1: C:\Users\Name\go\bin\build-lambda-zip.exe -o H:\Documents\React
JS\ihubdashboard\amplify\backend\function\completeregistration\dist\latest-build.zip
H:\Documents\React JS\ihubdashboard\amplify\backend\function\completeregistration\bin\main
failed to compress file: open H:\Documents\React
JS\ihubdashboard\amplify\backend\function\completeregistration\bin\main: The system cannot find the
file specified.
An error occurred during the push operation: Command failed with exit code 1:
C:\Users\Name\go\bin\build-lambda-zip.exe -o H:\Documents\React
JS\ihubdashboard\amplify\backend\function\completeregistration\dist\latest-build.zip
H:\Documents\React JS\ihubdashboard\amplify\backend\function\completeregistration\bin\main
failed to compress file: open H:\Documents\React
JS\ihubdashboard\amplify\backend\function\completeregistration\bin\main: The system cannot find the
file specified.
Command failed with exit code 1: go get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip
# cd C:\Users\Name\go\src\github.com\aws\aws-lambda-go; git pull --ff-only
fatal: Unable to create 'C:/Users/Name/go/src/github.com/aws/aws-lambda-go/.git/ORIG_HEAD.lock': File
exists.
This is the current error message I am getting:
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
package github.com/aws/aws-lambda-go/cmd/build-lambda-zip: exit status 128
An error occurred during the push operation: Command failed with exit code 1: go get -u
github.com/aws/aws-lambda-go/cmd/build-lambda-zip
# cd C:\Users\Name\go\src\github.com\aws\aws-lambda-go; git pull --ff-only
fatal: Unable to create 'C:/Users/Name/go/src/github.com/aws/aws-lambda-go/.git/ORIG_HEAD.lock': File
exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
package github.com/aws/aws-lambda-go/cmd/build-lambda-zip: exit status 128
Anybody experience this before? Or know what to do?
Thanks in advance
Turned out to be a bug - will be fixed. More details can be found in the following:
https://github.com/aws-amplify/amplify-cli/issues/6679
https://github.com/aws-amplify/amplify-cli/issues/6693

Can't extract tar.gz wordpress on EC2 Ubuntu

I'm following this tutorial to install Wordpress on AWS Ec2 Ubuntu.
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-20-04-with-a-lamp-stack
When I run this part
curl -O https://wordpress.org/latest.tar.gz
tar xzvf latest.tar.gz
I get this error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
I tried every kind of xzvf- combination and nothin seems to work.
Added here the download phase
Appreciate the help.

While running npm start getting an error - '.' is not recognizable as an internal or external command

I am running npm start command.
I am getting an error - '.' is not recognizable as an internal or external command.
I am also attaching the npm start error log file.NPM Start Error Log File
Please help
NPM Start Error Screenshot