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

Github Pages deployment is broken with dpl 1.9.0 #9312

Closed
theomessin opened this issue Mar 8, 2018 · 26 comments
Closed

Github Pages deployment is broken with dpl 1.9.0 #9312

theomessin opened this issue Mar 8, 2018 · 26 comments
Assignees

Comments

@theomessin
Copy link

Tried deleting all repository caches as well. Everything worked fine, tried to rebuild the same repo (ie. code) and then nothing worked fine 😢

Deploying application
/home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-pages-1.9.0/lib/dpl/provider/pages.rb:142:in `mkdir': File exists @ dir_s_mkdir - /tmp/d20180308-5759-1rawmx3/work (Errno::EEXIST)
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-pages-1.9.0/lib/dpl/provider/pages.rb:142:in `github_pull_or_init'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-pages-1.9.0/lib/dpl/provider/pages.rb:196:in `block in push_app'
	from /home/travis/.rvm/rubies/ruby-2.2.7/lib/ruby/2.2.0/tmpdir.rb:88:in `mktmpdir'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-pages-1.9.0/lib/dpl/provider/pages.rb:191:in `push_app'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.9.0/lib/dpl/provider.rb:194:in `block in deploy'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.9.0/lib/dpl/cli.rb:41:in `fold'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.9.0/lib/dpl/provider.rb:194:in `deploy'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.9.0/lib/dpl/cli.rb:32:in `run'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.9.0/lib/dpl/cli.rb:7:in `run'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.9.0/bin/dpl:5:in `<top (required)>'
	from /home/travis/.rvm/gems/ruby-2.2.7/bin/dpl:23:in `load'
	from /home/travis/.rvm/gems/ruby-2.2.7/bin/dpl:23:in `<main>'
failed to deploy
@deathbeam
Copy link

Same issue happening here after the dpl 1.9.0 update, deploy stopped working.

Here is link to Travis build

@BanzaiMan
Copy link
Contributor

To revert to the old behavior:

deploy:
  edge:
    branch: v1.8.47# rest

deathbeam added a commit to runelite/runelite.net that referenced this issue Mar 8, 2018
@deathbeam
Copy link

Yeah, started working again after downgrade, ty.

@dev-head
Copy link

dev-head commented Mar 8, 2018

Downgrade isn't working for our enterprise install, reaching out to support at the moment hopefully get something more to go with.

Update:
turns out that edge downgrade does work, we had another edge: true in the deploy config that we missed and rendered all our tests on this issue moot. Thanks @BanzaiMan, we're good now.

@BanzaiMan
Copy link
Contributor

@dev-head What is the version of Travis Enterprise you are running?

vrutkovs added a commit to vrutkovs/lounge-flatpak that referenced this issue Mar 8, 2018
vrutkovs added a commit to vrutkovs/flatpak-atom that referenced this issue Mar 8, 2018
reicek added a commit to reicek/AI-world that referenced this issue Mar 9, 2018
@reicek
Copy link

reicek commented Mar 9, 2018

Same problem here, it just stopped working.

Rolling back fixed it, but now I'll have a commit referencing just this issue on my project 😢

Seems like dpl 1.9.0 update simply broke the deploy system, at least for some of us.

I don't use Ruby at any point in my project (actually at all, I run my project on Node). I used to just deploy to master and it would "just work", so I have some questions:

  • Shouldn't this Ruby version update be fully transparent to users like me?
  • Why is there no proper error message on the console? Couldn't push the build to github.com/reicek/AI-world.git:gh-pages provides no reason for why it can't.

I hope this get fixed soon so I can remove that branch: v1.8.47 part

I'll use this chance to say thanks to the Travis team for such a great project! 🥇

derhuerst referenced this issue in derhuerst/vbb-map-routing Mar 9, 2018
@ShaunaGordon
Copy link

This has been failing for me, too (latest failing build), with or without keep-history enabled. Rolling back succeeds, though (successful build).

@reicek It's not Ruby that is breaking, it's DPL, which happens to be written in Ruby (so it's Ruby that's spitting out the stack trace). It's kind of like installing something and getting glibc errors. The author of the Pages diver recently made some major updates to it that made some fundamental changes to how parts of it works.

That said, I agree that "can't push to Github" cryptic as hell and frustrating to troubleshoot.

@matsp
Copy link

matsp commented Mar 9, 2018

Downgrading is not working with multi delpoyment config (see)

EDIT: This syntax works for multi deployments: link

bartlangelaan added a commit to headless-ninja/website that referenced this issue Mar 9, 2018
gmarpons pushed a commit to gmarpons/foss-guide-bcn-ca that referenced this issue Mar 9, 2018
ceball added a commit to holoviz/holoviz that referenced this issue Mar 9, 2018
ceball added a commit to holoviz-topics/EarthSim that referenced this issue Mar 9, 2018
devinreams added a commit to mozilla-lockwise/lockbox-extension that referenced this issue Mar 9, 2018
devinreams added a commit to mozilla-lockwise/lockbox-extension that referenced this issue Mar 9, 2018
ComFreek added a commit to ComFreek/async-playground that referenced this issue Mar 9, 2018
@BanzaiMan
Copy link
Contributor

BanzaiMan commented Mar 12, 2018

The fix will be in the dpl 1.9.1 release. I'll keep the pages-ivar-set branch for a week or so after the 1.9.1 release, so that the repos with this workaround can be switched off it.

@kaushalmodi
Copy link

kaushalmodi commented Mar 12, 2018

The fix will be in the dpl 1.9.1 release

When is that release?

Copying @jwiegley: Failing deployment on use-package project: https://travis-ci.org/jwiegley/use-package/jobs/352173197

samoht added a commit to realworldocaml/book that referenced this issue Mar 12, 2018
yanntm added a commit to lip6/ITSTools that referenced this issue Mar 12, 2018
yanntm added a commit to lip6/libDDD that referenced this issue Mar 12, 2018
yanntm added a commit to lip6/ITS-commandline that referenced this issue Mar 12, 2018
@BanzaiMan
Copy link
Contributor

1.9.1 is out.

@travis-ci travis-ci locked as resolved and limited conversation to collaborators Mar 12, 2018
@BanzaiMan
Copy link
Contributor

I'm locking this to prevent further mentions to this issue from commits pointing to this issue.

Unpublished added a commit to Unpublished/GithubTrending that referenced this issue Mar 14, 2018
m-mohr added a commit to Open-EO/openeo-web-editor that referenced this issue Apr 10, 2018
theomessin referenced this issue in hacksurrey/beta Apr 24, 2018
tadovas added a commit to mysteriumnetwork/node that referenced this issue Jun 5, 2018
tadovas added a commit to mysteriumnetwork/node that referenced this issue Jun 5, 2018
tadovas added a commit to mysteriumnetwork/node that referenced this issue Jun 5, 2018
tadovas added a commit to mysteriumnetwork/node that referenced this issue Jun 5, 2018
interro pushed a commit to mysteriumnetwork/node that referenced this issue Jun 20, 2018
ComFreek added a commit to ComFreek/async-playground that referenced this issue Jun 23, 2018
carloscuesta added a commit to carloscuesta/gitmoji that referenced this issue Nov 12, 2018
7yl4r added a commit to marinebon/marinebon.github.io that referenced this issue Sep 17, 2019
yanntm added a commit to lip6/ITSTools that referenced this issue May 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests