iiab / iiab-admin-console

GUI (Admin Console) to configure IIAB and install content
GNU General Public License v2.0
14 stars 17 forks source link

use iiab fact os instead of ansible distribution #496

Closed tim-moody closed 2 years ago

andrewclark5 commented 2 years ago

No description provided. @tim-moody @jvonau @holta Guys

I will be building a couple of clean iiiab images.

Can I just clarify as a Newby how to go about updating our existing Mint builds to fix the df issue?

holta commented 2 years ago

I will be building a couple of clean [IIAB] images.

Great!

Can I just clarify as a Newby how to go about updating our existing Mint builds to fix the df issue?

Here's the 5-minute process to completely update Admin Console and related parts — installing not just the df workaround but other important patches too — on almost any recently installed IIAB machine:

cd /opt/iiab/iiab-admin-console
sudo git pull
sudo ./install

Smallprint:

(1) The IIAB machine must be online (so it can be updated).

(2) Updating is "At Your Own Risk" but if the IIAB itself was very recently installed, this should generally very work well.

tim-moody commented 2 years ago

I hesitate to add that for those who have a really recent install of admin console there is an undocumented

sudo ./install -n

(no download) that skips catalog downloads

andrewclark5 commented 2 years ago

Thanks guys.

That's really helpful.

Regards Andrew Sent from my Moto 5G Sent from my Google Mail account

On Tue, 7 Jun 2022, 1:15 pm Tim Moody, @.***> wrote:

I hesitate to add that for those who have a really recent install of admin console there is an undocumented

sudo ./install -n

(no download) that skips catalog downloads

— Reply to this email directly, view it on GitHub https://github.com/iiab/iiab-admin-console/pull/496#issuecomment-1148585521, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZLTUR3TDDSOPPAO5DXCWYLVN44MRANCNFSM5X32PBCA . You are receiving this because you commented.Message ID: @.***>

holta commented 2 years ago

It looks like this PR (#496) also needs a raspbian.yml in https://github.com/iiab/iiab-admin-console/tree/master/vars to get Admin Console to install on Raspberry Pi OS.

Thank you @nzola for surfacing this regression in your iiab-diagnostics (http://sprunge.us/n1UeCM?en) here:

1961 -rw-r--r-- 1 root root 2738 Jun  7 19:20 /opt/iiab/iiab-admin-console/admin-install.log
1962                         ...ITS LAST 100 LINES FOLLOW...
1963 
1964 2022-06-07 12:23:36,317 p=75608 u=root n=ansible | PLAY [all] **********************************************************************************************************************************************************************************************************************************
1965 2022-06-07 12:23:36,538 p=75608 u=root n=ansible | TASK [Gathering Facts] **********************************************************************************************************************************************************************************************************************
1966 2022-06-07 12:23:41,630 p=75608 u=root n=ansible | ok: [127.0.0.1]
1967 2022-06-07 12:23:41,697 p=75608 u=root n=ansible | ERROR! vars file vars/{{ ansible_local.local_facts.os }}.yml was not found
1968 Could not find file on the Ansible Controller.
1969 If you are using a module and expect the file to exist on the remote, see the remote_src option

Now handled by: