"cannot parse Procfile" error when Heroku uploading - heroku

Pic of the files in the github repo:
When I try uploading I get the error:
Push failed: cannot parse Procfile. Please try pushing again.
Anyone know why this may be happening?

Related

Error: Deleted images of a Docker container

I had three docker containers and lots of images, so I decided deleting some of them and I deleted all the images accidentally. Now, I can't make "commit" and I get this error message: "Error response from daemon: failed to get digest
sha256:67238b4c1da06cdaec89d5728aaaa72b762304bffcc45b6bd7110503c9528111: open /var/lib/docker/image/overlay2/imagedb/content/sha256/67238b4c1da06cdaec89d5728aaaa72b762304bffcc45b6bd7110503c9528111: no such file or directory".
If I write: "docker images" it doesn't show anyone.
Here you can see the console. Screenshot
Any idea, please? Thanks in advance!

How to ensure AWS S3 cli file sync fully works without missing files

I'm working on a project that takes database backups from MongoDB on S3 and puts them onto a staging box for use for that day. I noticed during a manual run today I got this output. Normally it shows a good copy of each files but today I got a connection reset error or something one of the files, *.15, was not copied over after the operation had completed.
Here is the AWS CLI command that I'm using:
aws s3 cp ${S3_PATH} ${BACKUP_PRODUCTION_PATH}/ --recursive
And here is an excerpt of the output I got back:
download: s3://myorg-mongo-backups-raw/production/daily/2018-09-10/080001/data/s-ds063192-a1/myorg-production/myorg-production.10
to ../../data/db/myorg-production/myorg-production.10
download: s3://myorg-mongo-backups-raw/production/daily/2018-09-10/080001/data/s-ds063192-a1/myorg-production/myorg-production.11
to ../../data/db/myorg-production/myorg-production.11
download: s3://myorg-mongo-backups-raw/production/daily/2018-09-10/080001/data/s-ds063192-a1/myorg-production/myorg-production.12
to ../../data/db/myorg-production/myorg-production.12
download: s3://myorg-mongo-backups-raw/production/daily/2018-09-10/080001/data/s-ds063192-a1/myorg-production/myorg-production.13
to ../../data/db/myorg-production/myorg-production.13
download s3://myorg-mongo-backups-raw/production/daily/2018-09-10/080001/data/s-ds063192-a1/myorg-production/myorg-production.14
to ../../data/db/myorg-production/myorg-production.14
download failed: s3://myorg-mongo-backups-raw/production/daily/2018-09-10/080001/data/s-ds063192-a1/myorg-production/myorg-produc
tion.15 to ../../data/db/myorg-production/myorg-production.15 ("Connection broken: error(104, 'Connection reset by peer')", error
(104, 'Connection reset by peer'))
download: s3://myorg-mongo-backups-raw/production/daily/2018-09-10/080001/data/s-ds063192-a1/myorg-production/myorg-production.16
to ../../data/db/myorg-production/myorg-production.16
How can I ensure that the data from the given S3 path was fully copied over to the target path without any connection issues, missing files, etc? Is the sync command for the AWS tool a better option? Or should I try something else?
Thanks!

Downloading via SVN for MAC

I have to download a repository via SVN by using Mac. And I have some troubles with it. I, actually, past the URL and stuff. And put my password and log in right there but it still gives some strange errors and mb some of you can help me and tell how to do deals with it.
Here is my error:
svn: E170013: Unable to connect to a repository at URL 'https://svn.pathomation.com:****/!/%23QA_PMA.view.2_trunk'
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: no element found
What does it mean and how to avoid this error?
You use incorrect URL with the Subversion client. Read the article KB102: Subversion client errors caused by inappropriate repository URL.

Error while creating a SVN branch from terminal on mac

I am getting an error while creating a new branch for trunk on mac. I am using terminal to create it. This is the command i am using:
svn copy svn://server/path/to/trunk svn://server/path/to/branch/newBranch -m "Cut branch: newBranch"
And, I am getting following errors:
svn: E175008: At least one property change failed; repository is unchanged
svn: E175002: Server sent unexpected return value (400 Bad Request) in response to PROPPATCH request for 'somePathForNewBranch'
Please let me know how can i resolve it.
I tried changing network and it worked perfectly. No Clue, What was going wrong out there.

How to create cocoa pods?

I have a repo on github. I want to publish it as cocoa pod. I tried hard but couldn't find any frank tutorial.
http://guides.cocoapods.org/making/specs-and-specs-repo.html
teaches how to create spec file and how to update your existing pod , but doesn't tell how to create a new one.
while following https://github.com/CocoaPods/CocoaPods/wiki/Creating-and-maintaining-a-pod , tutorial, i am facing errors after executing "$ pod push master" command, it says,
Pushing the `master' repo
remote: Permission to CocoaPods/Specs.git denied to HarshitDaftary.
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': The requested URL returned error: 403
Kindly help me.
You are apparently not (yet) a contributor to the CocoaPods/Specs.git repository. To add your pod to the public list you will need to fork that repo, push to that fork, and submit a pull request to have your addition merged into the upstream repository. See the "If you do not have push access to CocoaPods/Specs" section on http://guides.cocoapods.org/making/specs-and-specs-repo.html

Resources