# Launcher fails after latest commits

**URL:** https://meta.discourse.org/t/launcher-fails-after-latest-commits/76423
**Category:** Bug
**Created:** [12월 19, 2017, 12:40오후 UTC](https://meta.discourse.org/t/launcher-fails-after-latest-commits/76423 "2017-12-19T12:40:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Tzanko\_Matev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tzanko_matev/32/99959_2.png) [@Tzanko\_Matev](https://meta.discourse.org/u/Tzanko_Matev)
#### Post date: [12월 19, 2017, 12:40오후 UTC](https://meta.discourse.org/t/launcher-fails-after-latest-commits/76423/1 "2017-12-19T12:40:23Z")

</div>

When running `./launcher bootstrap app` I get the following error message:

```plaintext
I, [2017-12-19T12:38:25.878582 #15] INFO -- : > cd /var/www/discourse && git fetch origin tests-passed
From https://github.com/discourse/discourse
 * branch tests-passed -> FETCH_HEAD
I, [2017-12-19T12:38:28.270063 #15] INFO -- : 
I, [2017-12-19T12:38:28.270201 #15] INFO -- : > cd /var/www/discourse && git checkout tests-passed
error: Your local changes to the following files would be overwritten by checkout:
        app/assets/javascripts/locales/sr.js.erb
Please, commit your changes or stash them before you can switch branches.
Aborting
I, [2017-12-19T12:38:28.406612 #15] INFO -- : 

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && git checkout tests-passed failed with return #<Process::Status: pid 69 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin master", "git pull", "git fetch origin $version", "git checkout $version", "mkdir -p tmp/pids", "mkdir -p tmp/sockets", "touch tmp/.gitkeep", "mkdir -p /shared/log/rails", "bash -c \"touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log\"", "bash -c \"ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log $home/log\"", "bash -c \"mkdir -p /shared/{uploads,backups}\"", "bash -c \"ln -s /shared/{uploads,backups} $home/public\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups"]}
715e5e87c5c947c310a17451f0c16479a4f12a05232ab068b892ef7bb5717198
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

I suspect that the error was introduced by this commit: [FEATURE: Serbian translation (#5443) · discourse/discourse@0df1c85 · GitHub](https://github.com/discourse/discourse/commit/0df1c85fd32a3aa100ae7e1e0c8f718cea1eb2e9)

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [12월 19, 2017, 12:47오후 UTC](https://meta.discourse.org/t/launcher-fails-after-latest-commits/76423/2 "2017-12-19T12:47:12Z")

</div>

~~I’m looking into it.~~

Fixed: [CRLF caused problems with launch script · discourse/discourse@84c975e · GitHub](https://github.com/discourse/discourse/commit/84c975e3a59341b6af0baf3b654d70c07335ed9a)

---

<div class="post-metadata">

### Author: ![Tzanko\_Matev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tzanko_matev/32/99959_2.png) [@Tzanko\_Matev](https://meta.discourse.org/u/Tzanko_Matev)
#### Post date: [12월 19, 2017, 12:58오후 UTC](https://meta.discourse.org/t/launcher-fails-after-latest-commits/76423/3 "2017-12-19T12:58:46Z")

</div>

It works now. @gerhard, thank you for the quick reaction!

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [12월 19, 2017, 1:00오후 UTC](https://meta.discourse.org/t/launcher-fails-after-latest-commits/76423/4 "2017-12-19T13:00:24Z")

</div>


