Problem upgrading discourse via docker manager

(Ady Saputra) #1

i’m running discourse version, currently running behind proxy, its failed upgrading via docker manager, i try to run manually

cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}

as the screen show when upgrading, the output is

# cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}
error: No upstream branch found for 'HEAD'
error: No upstream branch found for 'HEAD'
fatal: ambiguous argument 'HEAD@{upstream}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions

the docker manager updated through this way, but the discourse failed. what would be the problem? thx

Docker manager not working behind a proxy
(Sam Saffron) #2

Can you rebuild?

cd /var/docker
git pull
./launcher rebuild app

(Ady Saputra) #3
# git pull
Updating d89966e..cafe688
error: Your local changes to the following files would be overwritten by merge:
Please, commit your changes or stash them before you can merge.

(Sam Saffron) #4

Why did you edit launcher? delete it and try pulling again.

(Ady Saputra) #5

ups, i forget to return it when modifying launcher due to proxy issue, the discourse updated with rebuilding, thanks sam

(Jeff Atwood) #6