# Problems updating the Software from the Admin menu

**URL:** <https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386>\
**Category:** Software Updates\
**Created:** [January 18, 2017, 6:46pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386 "2017-01-18T18:46:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [January 18, 2017, 6:46pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/1 "2017-01-18T18:46:20Z")

</div>

Hi @all!

If you have problems updating the sofware from the admin menu (i.e. you get an ERROR message), use this thread to post a photo or description of the message.

Regards

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [January 20, 2017, 3:50pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/2 "2017-01-20T15:50:35Z")

</div>

Hi Fernando,

yes - I have update problem. When updating from shell I get this:

```
...
Updating zynthian-ui ...
From https://github.com/zynthian/zynthian-ui
 * branch mod -> FETCH_HEAD
Updating a6438bc..a3666f4
error: Your local changes to the following files would be overwritten by merge:
        zynthian_gui_config.py
Please, commit your changes or stash them before you can merge.
Aborting

```

After

```
cd /zynthian/zynthian-ui
git checkout .

```

it works.

Regards, Holger

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [January 20, 2017, 4:06pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/3 "2017-01-20T16:06:46Z")

</div>

… additional:

After update my encoder configuration is lost. Perhaps this can be putted in a file which can’t be erased/overwritten by updates?

Regards, Holger

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [January 20, 2017, 4:11pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/4 "2017-01-20T16:11:01Z")

</div>

I think that now it’s solved. Update system should make a copy of your configuration and restore it after updating.

Plase, reconfigure your encoder configuration and try again.

Anyway, i’m working in a better configuration system 😉

Regards!

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [January 20, 2017, 7:47pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/5 "2017-01-20T19:47:27Z")

</div>

Many thanks! It seems to work - but perhaps because I manually updated before… will try this soon for my other Zynthian (it’s good to have more than one 😉!)

Regards, Holger

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [January 21, 2017, 10:06am UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/6 "2017-01-21T10:06:32Z")

</div>

Hi @jofemodo,

super-fantastic! Update worked on my other Zynthian! Many thanks!!!

Holger

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [April 5, 2019, 11:05pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/7 "2019-04-05T23:05:46Z")

</div>

Attempts to “Update Software” from admin menu for a freshly installed “Gorgona Omega” image does not seem to work. A set of results are shown and the application continues to run but it isn’t the latest version, e.g. the status indicators are missing (CPU, MIDI, xruns, etc.). Attempting to git pull from command line gives an error:

fatal: unable to access ‘[https://github.com/zynthian/zynthian-ui.git/](https://github.com/zynthian/zynthian-ui.git/)’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

I am performing an apt update && apt upgrade which may fix SSL issues. Maybe we should consider providing a method of updating the OS from the menu. It may be advantageous to use an update manifest from somewhere (github?) that defines what updates are required or blacklisted in case there is an opportunity to break the system by a blanket update.

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [April 5, 2019, 11:11pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/8 "2019-04-05T23:11:47Z")

</div>

It’s the same update. It doesn’t matter, if you trigger it from webconf, zynthian-ui or ssh directly

You have to regenerate the certs. There is a button in the webconf.

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [April 5, 2019, 11:27pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/9 "2019-04-05T23:27:16Z")

</div>

I have done an apt upgrade and regenerated keys (though not sure why) but still get same result, i.e. Software Update not actually updating software. Any other ideas?

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [April 5, 2019, 11:40pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/10 "2019-04-05T23:40:52Z")

</div>

You did apt upgrade?  
Then start from scratch and don’t do it again 🙂

update\_zynthian.sh is the only script you should use. Sometimes twice.

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [April 6, 2019, 6:50am UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/11 "2019-04-06T06:50:12Z")

</div>

I was getting these results before I did an apt upgrade. I triggered software update from the UI several times and rebooted several times before performing apt upgrade. Same result in each case. The update script ran without any obvious errors\*, completing within 10s but software does not seem to update. Running got pull from within /zynthian/zynthian-ui gives the error about certificate. This was all after a clean install (dd) of Gorgons Omega image.

- I did not see errors in the UI but running the script from ssh session does show the same certificate error so maybe errors are suppressed in the UI.

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [April 6, 2019, 7:32am UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/12 "2019-04-06T07:32:10Z")

</div>

Sorted!!! Somehow the clock on my RPi had gotten set to 3rd April 2018, i.e. more than a year slow which meant htpdate was not updating (because by default it does not update if more than a year out) and git pull was failing ssl certificate check because date / time was significantly adrift. I ran htpdate with the -t option to force the clock set and now it is updating. I don’t know what set the date wrong, maybe something I was doing before the reflash or possibly (but probably unlikely) a time source being wrong after the reflash. Very strange!

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [April 6, 2019, 9:38am UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/13 "2019-04-06T09:38:11Z")

</div>

But good to know 👍

---

<div class="post-metadata">

**Author:** ![mj\_prod](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mj_prod/32/1920_2.png) [@mj\_prod](https://discourse.zynthian.org/u/mj_prod)\
**Post date:** [April 6, 2019, 1:16pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/14 "2019-04-06T13:16:55Z")

</div>

Hello community,

I had the same problem with the date and time setting, too.  
It would be helpful integrating some sort of `ntpdate command` into the scripts before searching for new updates if certificates will fail this way.

Greetings and God bless, Marius

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [April 6, 2019, 3:45pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/15 "2019-04-06T15:45:10Z")

</div>

I can’t seem to clear the wifi option in the GUI…

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [April 6, 2019, 5:12pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/16 "2019-04-06T17:12:45Z")

</div>

Should the first run script force time setting? I noticed one of the update scripts ran htpdate with just one server. We should use at least three in case one is down or wrong. Five would be better.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [April 6, 2019, 9:28pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/17 "2019-04-06T21:28:58Z")

</div>

> [@riban](#):
>
> I noticed one of the update scripts ran htpdate with just one server. We should use at least three in case one is down or wrong. Five would be better.

I will improve it … 😉

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [April 7, 2019, 3:49pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/18 "2019-04-07T15:49:51Z")

</div>

I have reinstalled from the original gorgona as well and have the same issue.  
Maybe it’s because the image is more than a year old now.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [April 7, 2019, 4:50pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/19 "2019-04-07T16:50:07Z")

</div>

Perhaps the configured htpdate servers are failing, although it’s quite strange given that i’m using the default servers of Debian package.

Anyway, i’ve added an explicit call to htpdate at the beginning of update script, including 5 servers:

```
htpdate -s www.pool.ntp.org www.ntp.br www.wikipedia.org 0.europe.pool.ntp.org www.google.co.uk

```

It should be enough for not having more problems related with this subject …

Kind Regards,

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [April 7, 2019, 4:53pm UTC](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386/20 "2019-04-07T16:53:15Z")

</div>

but this only works when it’s updated. So all new users have an issue now.  
When do you think, ZynthianOS is ready to go?

[Next page](https://discourse.zynthian.org/t/problems-updating-the-software-from-the-admin-menu/386.md?page=2)
