Unsolved Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB
-
Hi, i have set up GAv3 on Rpi OS x64 Booksworm and on my older Rpi 3B , It works terrible.
I want to try move it to Rpi OS x32 on Rpi 4 4GB. is this possible without making configuration again? I thought about copying all folders of MM to another SD card with preimaged Rpi OSx32 Bullseye . Is that possible? and how i can made that much easier and faster? -
This post is deleted! -
v3ā¦ v6 is just finish coded
-
@bugsounet
To be honest, Iām not sure which version I have. Its probably V6 because I have download it yesterday. I just thought V3 is the newest. But if you say that the newest is V6 that is probably why itās so slow on my rpi3. Another ilmistake that I have made, was installing on Rpi, the newest OS x64, and after the installation I have readed about warning that it can not work properly on the newest OS and on the x64.
Is that possible to move all files to the good OS (Bullseye x32) without installing everything again? -
@bugsounet
I have done this what i was talking about and i have some problems, maybe because of that. Could you help me understand what it can mean? It occures when im trying to install Ext-Spotify.! -
Only related to EXT-Spotify??
-
@bugsounet No, actualy, this error appears when Im trying to install anything. All Ext, and even GA Module.
-
this reassures meā¦
nie ma takiego pliku ami katelogu
: it means that node js is not installed so install it -
@bugsounet said in Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB:
this reassures meā¦
nie ma takiego pliku ami katelogu
: it means that node js is not installed so install it
The problem is that I have node.js, If I wouldnāt have, I wouldnāt be able to run ānpm run installā I see that you wrote that there can be some bugs with some version o node.js. I have downloaded 20.x file. What o you think? Downgrade or upgrade could help? If downgrade is the way, could you write me some command for it? Or maybe there is another way? -
for install
nodejs
you can try this:sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list sudo apt-get update && sudo apt-get install nodejs -y
-
@bugsounet said in Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB:
sudo apt-get update && sudo apt-get install nodejs -y
Why everything is not working in my rpi???
jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease Stary:3 https://deb.nodesource.com/node_20.x nodistro InRelease Czytanie list pakietĆ³w... Gotowe Czytanie list pakietĆ³w... Gotowe Budowanie drzewa zależnoÅci... Gotowe Odczyt informacji o stanie... Gotowe ca-certificates is already the newest version (20210119). curl is already the newest version (7.74.0-1.3+deb11u11). gnupg is already the newest version (2.2.27-2+deb11u2). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych. jan@raspberrypi:~ $ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg gpg: nie można utworzyÄ ,,/etc/apt/keyrings/nodesource.gpg'': Nie ma takiego pliku ani katalogu gpg: nie odnaleziono poprawnych danych w formacie OpenPGP. gpg: zdjÄcie opakowania ASCII nie powiodÅo siÄ: Nie ma takiego pliku ani katalogu (23) Failed writing body jan@raspberrypi:~ $ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install nodejs -y Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease Pobieranie:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB] BÅÄ d:3 https://deb.nodesource.com/node_18.x nodistro InRelease NastÄpujÄ ce podpisy nie mogÅy zostaÄ zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 2F59B5F99B1BE0B4 Czytanie list pakietĆ³w... Gotowe W: BÅÄ d GPG: https://deb.nodesource.com/node_18.x nodistro InRelease: NastÄpujÄ ce podpisy nie mogÅy zostaÄ zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 2F59B5F99B1BE0B4 E: The repository 'https://deb.nodesource.com/node_18.x nodistro InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. jan@raspberrypi:~ $
-
like i says everydayā¦ All problem have solutions ā¦ If there is no solutions, there is no problem !
gpg: nie można utworzyÄ ,,/etc/apt/keyrings/nodesource.gpg'': Nie ma takiego pliku ani katalogu
can be translated in simple wordsā¦ : my guys
etc/apt/keyrings
folder doesnāt exist so i canāt write my filecan you try this:
sudo mkdir /etc/apt/keyrings curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg sudo apt-get update && sudo apt-get install nodejs -y
tell me if better ?
-
It looks like it help with commands that you have wrote me earlier, but even that it looks that i have still 20.x node.js Im i right?
jan@raspberrypi:~ $ sudo mkdir /etc/apt/keyrings jan@raspberrypi:~ $ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install nodejs -y Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease Pobieranie:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB] Pobieranie:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [6Ā 656 B] Pobrano 6Ā 656 B w 1s (5Ā 422 B/s) Czytanie list pakietĆ³w... Gotowe Czytanie list pakietĆ³w... Gotowe Budowanie drzewa zależnoÅci... Gotowe Odczyt informacji o stanie... Gotowe nodejs is already the newest version (20.10.0-1nodesource1). 0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. jan@raspberrypi:~ $
and my main error when instaling GA still occures.
jan@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm install > MMM-GoogleAssistant@6.0.0 preinstall > installer/preinstall.sh -d 'pulseaudio nginx certbot python3 python-is-python3 python3-certbot-nginx make build-essential' Welcome to MMM-GoogleAssistant v6.0.0 No root checking... Checking MMM-GoogleAssistant: jan/jan Checking MagicMirror: jan/jan Checking OS... OS Detected: linux-gnueabihf (raspbian 11 aarch64) Checking all dependencies... All Dependencies needed are installed ! > MMM-GoogleAssistant@6.0.0 postinstall > installer/postinstall.sh -r -b -m Minify Main code... installer/postinstall.sh: linia 43: /usr/local/bin/node: Nie ma takiego pliku ani katalogu Minify Failed! npm ERR! code 255 npm ERR! path /home/jan/MagicMirror/modules/MMM-GoogleAssistant npm ERR! command failed npm ERR! command sh -c installer/postinstall.sh -r -b -m npm ERR! A complete log of this run can be found in: /home/jan/.npm/_logs/2024-01-11T18_59_01_873Z-debug-0.log jan@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $
-
ok, letās try:
sudo apt-get remove nodejs --purge sudo apt-get install nodejs
and give content of
node -v
-
@bugsounet
what is goingon? hahaNie ma takiego pliku ani katalogu means there is no such folder
jan@raspberrypi:~ $ sudo apt-get remove nodejs --purge Czytanie list pakietĆ³w... Gotowe Budowanie drzewa zależnoÅci... Gotowe Odczyt informacji o stanie... Gotowe NastÄpujÄ ce pakiety zostanÄ USUNIÄTE: nodejs* 0 aktualizowanych, 0 nowo instalowanych, 1 usuwanych i 0 nieaktualizowanych. Po tej operacji zostanie zwolnione 185 MB miejsca na dysku. KontynuowaÄ? [T/n] t (Odczytywanie bazy danych ... 113158 plikĆ³w i katalogĆ³w obecnie zainstalowanych.) Usuwanie pakietu nodejs (20.10.0-1nodesource1) ... Przetwarzanie wyzwalaczy pakietu man-db (2.9.4-2)... jan@raspberrypi:~ $ sudo apt-get install nodejs Czytanie list pakietĆ³w... Gotowe Budowanie drzewa zależnoÅci... Gotowe Odczyt informacji o stanie... Gotowe ZostanÄ zainstalowane nastÄpujÄ ce NOWE pakiety: nodejs 0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Konieczne pobranie 27,1 MB archiwĆ³w. Po tej operacji zostanie dodatkowo użyte 178 MB miejsca na dysku. Pobieranie:1 https://deb.nodesource.com/node_18.x nodistro/main armhf nodejs armhf 18.19.0-1nodesource1 [27,1 MB] Pobrano 27,1 MB w 4s (7Ā 625 kB/s) Wybieranie wczeÅniej niewybranego pakietu nodejs. (Odczytywanie bazy danych ... 107655 plikĆ³w i katalogĆ³w obecnie zainstalowanych.) Przygotowywanie do rozpakowania pakietu .../nodejs_18.19.0-1nodesource1_armhf.deb ... Rozpakowywanie pakietu nodejs (18.19.0-1nodesource1) ... Konfigurowanie pakietu nodejs (18.19.0-1nodesource1) ... Przetwarzanie wyzwalaczy pakietu man-db (2.9.4-2)... jan@raspberrypi:~ $ node -v bash: /usr/local/bin/node: Nie ma takiego pliku ani katalogu
-
ok
letās try if node is in another Folder
/usr/bin/node -v
and if ok, we will make an linkā¦ And itās will be solved
-
And as I am sure that will answer the version of nodeā¦
This is the magical final command:sudo ln -s /usr/bin/node /usr/local/bin/node
and now ā¦
node -v
will repond :
v18.19.0
am I right ?
-
@bugsounet said in Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB:
And as I am sure that will answer the version of nodeā¦
This is the magical final command:sudo ln -s /usr/bin/node /usr/local/bin/node
and now ā¦
node -v
will repond :
v18.19.0
am I right ?
its kinda working but the answer is Folder exists and then, folder doesnt exist. Am i doing somethink wrong?
jan@raspberrypi:~ $ node -v bash: /usr/local/bin/node: Nie ma takiego pliku ani katalogu jan@raspberrypi:~ $ /usr/bin/node -v v18.19.0 jan@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/local/bin/node ln: nie udaÅo siÄ utworzyÄ dowiÄ zania symbolicznego '/usr/local/bin/node': Plik istnieje (In: failed to create symbolic link '/usr/local/bin/node': File exists) jan@raspberrypi:~ $ node -v bash: /usr/local/bin/node: Nie ma takiego pliku ani katalogu (bash: /usr/local/bin/node: No such file or directory) jan@raspberrypi:~ $
-
In: failed to create symbolic link '/usr/local/bin/node': File exists
so letās force it (with
f
option) and testsudo ln -fs /usr/bin/node /usr/local/bin/node node -v
-
It have worked, thanks a lot.