Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to push to Balena #1073

Closed
pelicanmedia opened this issue Apr 5, 2019 · 1 comment
Closed

Failing to push to Balena #1073

pelicanmedia opened this issue Apr 5, 2019 · 1 comment

Comments

@pelicanmedia
Copy link

Overview of the Issue

Not sure if this is a Balena issue or a Screenly issue...
When running:

git push balena production:master

I'm getting lot of errors....

Reproduction Steps

Steps to reproduce this issue, eg:

craigs-imac:GitHub craig$ git clone https://github.com/Screenly/screenly-ose.git
Cloning into 'screenly-ose'...
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 7877 (delta 12), reused 27 (delta 9), pack-reused 7843
Receiving objects: 100% (7877/7877), 3.98 MiB | 4.91 MiB/s, done.
Resolving deltas: 100% (4545/4545), done.
craigs-imac:GitHub craig$ cd screenly-ose/
craigs-imac:screenly-ose craigfews$ git remote add balena USERNAME@git.balena-cloud.com:USERNAME/APPLICATIONNAME.git
craigs-imac:screenly-ose craigfews$ git checkout production
Branch 'production' set up to track remote branch 'production' from 'origin'.
Switched to a new branch 'production'
craigs-imac:screenly-ose craig$ git push balena production:master
Enumerating objects: 7031, done.
Counting objects: 100% (7031/7031), done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2790/2790), done.
Writing objects: 100% (7031/7031), 3.69 MiB | 1.41 MiB/s, done.
Total 7031 (delta 4060), reused 7031 (delta 4060)
remote: Resolving deltas: 100% (4060/4060), done.

[Info]     Starting build for APPLICATIONNAME, user USERNAME
[Info]     Dashboard link: https://dashboard.balena-cloud.com/apps/XXXXXXX/devices
[Info]     Building on arm03
[Info]     Pulling previous images for caching purposes...
[Success]  Successfully pulled cache images
[main]     Step 1/26 : FROM resin/raspberrypi3-debian
[main]      ---> 88ed09f4b4bf
[main]     Step 2/26 : MAINTAINER Anton Molodykh <amolodykh@screenly.io>
[main]     Using cache
[main]      ---> 4e2a33e0dbe3
[main]     Step 3/26 : RUN apt-get update &&     apt-get -y install         build-essential         curl         git-core         libffi-dev         libssl-dev         matchbox         net-tools         nginx-light         omxplayer         psmisc         python-dev         python-imaging         python-netifaces         python-simplejson         sqlite3         uzbl         x11-xserver-utils         xserver-xorg &&     apt-get clean
[main]      ---> Running in b520b297d744
[main]     Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
[main]     Get:2 http://archive.raspbian.org jessie InRelease [15.0 kB]
[main]     Ign http://deb.debian.org jessie InRelease
[main]     Get:3 http://deb.debian.org jessie-updates InRelease [7340 B]
[main]     Get:4 http://deb.debian.org jessie Release.gpg [2420 B]
[main]     Get:5 http://deb.debian.org jessie Release [148 kB]
[main]     Get:6 http://security.debian.org jessie/updates InRelease [44.9 kB]
[main]     Get:7 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
[main]     Get:8 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
[main]     Get:9 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
[main]     Get:10 http://archive.raspbian.org jessie/non-free armhf Packages [106 kB]
[main]     Get:11 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
[main]     Get:12 http://archive.raspbian.org jessie/firmware armhf Packages [1208 B]
[main]     Get:13 http://deb.debian.org jessie/main armhf Packages [8898 kB]
[main]     Get:14 http://security.debian.org jessie/updates/main armhf Packages [795 kB]
[main]     Fetched 23.6 MB in 13s (1775 kB/s)
[main]     W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
[main]     E: Some index files failed to download. They have been ignored, or old ones used instead.
[main]     
[main]     Removing intermediate container b520b297d744
[Info]     Uploading images
[main]     The command '/bin/sh -c apt-get update &&     apt-get -y install         build-essential         curl         git-core         libffi-dev         libssl-dev         matchbox         net-tools         nginx-light         omxplayer         psmisc         python-dev         python-imaging         python-netifaces         python-simplejson         sqlite3         uzbl         x11-xserver-utils         xserver-xorg &&     apt-get clean' returned a non-zero code: 100
[Success]  Successfully uploaded images
[Error]    Some services failed to build:
[Error]      Service: main
[Error]        Error: The command '/bin/sh -c apt-get update &&     apt-get -y install         build-essential         curl         git-core         libffi-dev         libssl-dev         matchbox         net-tools         nginx-light         omxplayer         psmisc         python-dev         python-imaging         python-netifaces         python-simplejson         sqlite3         uzbl         x11-xserver-utils         xserver-xorg &&     apt-get clean' returned a non-zero code: 100
[Error]    Not deploying release.

remote: error: hook declined to update refs/heads/master
To git.balena-cloud.com:USERNAME/APPLICATIONNAME.git
 ! [remote rejected] production -> master (hook declined)
error: failed to push some refs to 'USERNAME@git.balena-cloud.com:USERNAME/APPLICATIONNAME.git'
craigs-imac:screenly-ose craig$

Environment

  • Raspberry Pi Hardware Version: Pi 3
  • Screenly OSE Version: Latest

According to here Wheezy and Jessie have been integrated into the archive.debian.org structure.

@vpetersson
Copy link
Contributor

@pelicanmedia This is doesn't seem like an issue in Screenly, but rather in Balena. I suggest you post this on their forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants