Comments (3)
I have the same Problem. After the first start chromium shows: "This site cant be reached".
I checked the logs in /boot/autosetup.log and found the same lines as the Issue-Creator.
## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev> echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/a> sudo apt-get update && sudo apt-get install yarn
Paketlisten werden gelesen…
Abhängigkeitsbaum wird aufgebaut…
Statusinformationen werden eingelesen…
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
libnode72 : Kollidiert mit: nodejs-legacy
nodejs : Kollidiert mit: npm
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
sudo: npm: Befehl nicht gefunden
sudo: npm: Befehl nicht gefunden
bash: Zeile 63: pm2: Kommando nicht gefunden.
Maybe it has something todo with the deprecated package installer from nodesource you used here:
https://github.com/splitti/MuPiBox/blob/c8393f211d135ef9d4f9864393ec1360be303b9a/autosetup/autosetup.sh#L55C2-L55C2
See https://github.com/nodesource/distributions
I will try to modify and run your installation-script this weekend with the alternativ method they provided and will report the results.
from mupibox.
At first i tried only to change these line
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - >&3 2>&3
to
sudo apt-get install -y ca-certificates curl gnupg >&3 2>&3
sudo mkdir -p /etc/apt/keyrings >&3 2>&3
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg >&3 2>&3
NODE_MAJOR=16
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list >&3 2>&3
sudo apt-get update >&3 2>&3
Then i placed the script on the root path of a fresh created dietPi-SD-Card and renamed it to "Automation_Custom_Script.sh".
To prevent the faulty script running i comment out the following line in "diet-pi.txt"
AUTO_SETUP_CUSTOM_SCRIPT_EXEC=https://mupibox.de/version/latest/autosetup/autostart.sh
Sadly the problem persisted.
In the end, the problem is probably these lines of code, right after adding the NodeJs repo:
MuPiBox/autosetup/autosetup.sh
Line 57 in c8393f2
if [ `getconf LONG_BIT` != 32 ]; then
sudo apt-get install -y nodejs >&3 2>&3
else
sudo apt-get install -y nodejs npm >&3 2>&3
fi
Following the instructions on the website, I used the 32 bit image from dietPi, which ends up in the else branch of the if condition. Here we try to install NodeJs and Npm. However, as it seems, this is not necessary and also not possible, since npm is already installed with nodeJs.
I installed nodejs manually with the command
`sudo apt-get install -y nodejs'
and then ran the remaining lines of the script. Now my first MuPiBox starts up to the WebUI.
During the installation I noticed that the package mplayer wrapper removed support for NodeJs 16.
(See derhuerst/mplayer-wrapper@2a66e10)
However, the installation seems successfull. I hope the Mupibox is still stable.
from mupibox.
A few days ago i tried another fresh install and its seems the version 3.1.3 has fixed the install issue.
I noticed just one issue (don't know why i didn't stumble across this with all the installs before): I set the new hostname to mupibox04 and dns and dhcp just works fine, just the display didn't show anything useful. I first thought it was again the issue i described above, but it was much easier this time: The mupiboxconfig.json in /etc still had the entry "host": "MuPiBox". After changing this to mupibox04 and a reboot everything was fine.
I don't know, if this replacement is broken or if i changed the hostname all the times later.
Maybe this hint helps other and regarding the initial issue, as said, 3.1.3 has solved it. Thanks.
from mupibox.
Related Issues (20)
- Spotify account informations can't be deleted
- request - internetradio - display actual track name HOT 1
- Changing display brightness is shown in percent but handled in byte HOT 1
- Mupibox resumes play after being paused
- Incorrect / old TTS files after changing TTS Language HOT 1
- Media selection stops working HOT 4
- What to adapt for a second mupibox in Same network HOT 1
- zur Anleitung auf der Homepage HOT 1
- keine WLAN Verbindung möglich HOT 1
- Spotify Suchsyntax HOT 5
- Update within the webinterface does not change the version of the installation HOT 4
- Radio Streams können nicht hinzugefügt werden HOT 1
- site cant be reached HOT 8
- More then the maximum allowed volume is possible HOT 1
- No Spotify playback after long idle HOT 2
- Themen lassen sich nicht ändern HOT 1
- duplicate entries in resume list
- Spotify stops working after some days not using Spotify [bug] HOT 1
- Feature Request: Tidal support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mupibox.