Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can’t install Hoobs on debian #1549

Closed
4 tasks
hermsdad opened this issue Sep 29, 2021 · 19 comments
Closed
4 tasks

Can’t install Hoobs on debian #1549

hermsdad opened this issue Sep 29, 2021 · 19 comments
Labels
bug Something isn't working discovery Issues reported without enough information

Comments

@hermsdad
Copy link

Description
I just wiped a Mac mini clean and installed the Debian/raspberry pi software. Updated Debian after install.

I then ran the instructions for installing hoobs at https://support.hoobs.org/docs/60e9f2ecdea381a881af7237

wget -qO- https://dl.hoobs.org/stable | sudo -E bash -

sudo apt install hoobs

I assume this is to install hoobs 4 because when I previously installed hoobs 3 it had a different URL. I did it this way because I could never get hoobs 3 to upgrade.

Version
4?

Did you upgrade
Please let us know if you upgraded from a previous version.

  • Yes
  • [ x] No

Pervious version
None

Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?
Did you perform an upgrade from HOOBS 2.1.1? Some things are different.

  • Yes
  • [ x] No

What device are you using?
Please let us know the device you are running HOOBS on.

  • HOOBS Box
  • HOOBS SD Card
  • [ x] Custom Install

If this is a custom install, what's your operating system?
Latest version of Debian/raspberry pi on a Mac mini that’s been wiped clean.

List your plugins
Please include a list of the plugins you are using. We need to be able to find it on NPM. If the plugin is no published, please include a link to the repository.
None yet

Post your config
This can be found in the interface, Configuration -> Advanced or you can get it via SSH cat ~/.hoobs/etc/config.json

Didn’t get this far

POST CONFIG HERE


**Post your log**
You can get the log from the interface. This is in the Log section.

POST LOG HERE


**Additional context**
Here’s the error I got from the command line

root@raspberry:/home/pi# wget -qO- https://dl.hoobs.org/stable | sudo -E bash -
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://ftp.debian.org/debian buster InRelease [122 kB]                                                              
Hit:3 http://archive.raspberrypi.org/debian buster InRelease                                      
Get:4 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Get:5 http://security.debian.org buster/updates/main i386 Packages [304 kB]
Get:6 http://security.debian.org buster/updates/main amd64 Packages [305 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [160 kB]                                     
Get:8 http://ftp.debian.org/debian buster/main i386 Packages [7,863 kB]             
Get:9 http://security.debian.org buster/updates/non-free amd64 Packages [556 B]                 
Get:10 http://security.debian.org buster/updates/non-free i386 Packages [556 B]        
Get:11 http://ftp.debian.org/debian buster/main amd64 Packages [7,907 kB]              
Get:12 http://ftp.debian.org/debian buster/main Translation-en [5,968 kB]
Get:13 http://ftp.debian.org/debian buster/contrib i386 Packages [46.0 kB]
Get:14 http://ftp.debian.org/debian buster/contrib amd64 Packages [50.1 kB]
Get:15 http://ftp.debian.org/debian buster/contrib Translation-en [44.2 kB]
Get:16 http://ftp.debian.org/debian buster/non-free i386 Packages [76.2 kB]
Get:17 http://ftp.debian.org/debian buster/non-free amd64 Packages [87.7 kB]
Get:18 http://ftp.debian.org/debian buster/non-free Translation-en [88.9 kB]
Get:19 http://ftp.debian.org/debian buster-updates/main i386 Packages [15.2 kB]
Get:20 http://ftp.debian.org/debian buster-updates/main amd64 Packages [15.2 kB]
Get:21 http://ftp.debian.org/debian buster-updates/main Translation-en [13.9 kB]
Fetched 22.9 MB in 5s (4,276 kB/s)                                
Reading package lists... Done
Building dependency tree       
Reading state information... Done

191 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'http://security.debian.org buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: Repository 'http://ftp.debian.org/debian buster InRelease' changed its 'Version' value from '10.7' to '10.10'
N: Repository 'http://ftp.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: Repository 'http://ftp.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
+ rm -f /etc/apt/sources.list.d/hoobs.list
Installing the NodeSource Node.js 14.x repo...
+ apt-get update
Hit:1 http://ftp.debian.org/debian buster InRelease
Hit:2 http://ftp.debian.org/debian buster-updates InRelease                            
Hit:3 http://security.debian.org buster/updates InRelease                              
Hit:4 http://archive.raspberrypi.org/debian buster InRelease                           
Reading package lists... Done
Confirming "buster" is supported...
+ wget -qO /dev/null -o /dev/null 'https://deb.nodesource.com/node_14.x/dists/buster/Release'
Adding the NodeSource repository
+ wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
+ echo 'deb https://deb.nodesource.com/node_14.x buster main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_14.x buster main' >> /etc/apt/sources.list.d/nodesource.list
Adding the Yarn repository
+ wget -qO- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
OK
+ echo 'deb https://dl.yarnpkg.com/debian/ stable main' | tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main
Adding the HOOBS repository
+ wget -qO- https://dl.hoobs.org/deb/key.gpg | apt-key add -
OK
+ echo 'deb https://dl.hoobs.org/deb/stable/ buster main' | tee /etc/apt/sources.list.d/hoobs.list
deb https://dl.hoobs.org/deb/stable/ buster main
Updating packages
+ apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease                                                                                                                                                                                                    
Hit:3 http://ftp.debian.org/debian buster-updates InRelease                                                                                                                                                                                            
Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]                                                                                                                                                                                         
Get:5 https://dl.hoobs.org/deb/stable buster InRelease [3,022 B]                                                                                                                                  
Get:6 https://deb.nodesource.com/node_14.x buster InRelease [4,584 B]                                        
Hit:7 http://archive.raspberrypi.org/debian buster InRelease
Get:8 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.1 kB]
Get:9 https://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB]
Get:10 https://dl.yarnpkg.com/debian stable/main i386 Packages [10.1 kB]
Get:11 https://dl.hoobs.org/deb/stable buster/main amd64 Packages [1,066 B]
Get:12 https://dl.hoobs.org/deb/stable buster/main i386 Packages [1,066 B]
Get:13 https://deb.nodesource.com/node_14.x buster/main amd64 Packages [770 B]
Fetched 57.8 kB in 1s (66.3 kB/s)
Reading package lists... Done
Run "sudo apt install -y hoobs" to install HOOBS, node and yarn
root@raspberry:/home/pi# sudo apt install hoobs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 hoobs : Depends: hoobs-cli (>= 4.0.0) but it is not going to be installed
         Depends: hoobsd (>= 4.0.0) but it is not going to be installed
         Depends: hoobs-gui (>= 4.0.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
@hermsdad hermsdad added bug Something isn't working discovery Issues reported without enough information labels Sep 29, 2021
@mkellsy
Copy link
Contributor

mkellsy commented Sep 30, 2021

You may have to install the components separately

sudo apt update
sudo apt install -y nodejs yarn
sudo apt install -y helm hoobs-cli hoobsd hoobs-gui

After it installs run this

sudo hbs install

The HOOBS bundle just runs this automatically. If all else fails we can get more logs for troubleshooting.

@hermsdad
Copy link
Author

hermsdad commented Sep 30, 2021 via email

@hermsdad
Copy link
Author

hermsdad commented Sep 30, 2021 via email

@mkellsy
Copy link
Contributor

mkellsy commented Sep 30, 2021

Run this and post. Your architecture might not be supported.

uname -m

@hermsdad
Copy link
Author

hermsdad commented Sep 30, 2021 via email

@mkellsy
Copy link
Contributor

mkellsy commented Sep 30, 2021

I am working on version 4.1, which is close to release. It properly supports more architectures including amd63 (aka x86_64).

You can try this version by moving to the "bleeding" branch.

wget -qO- https://dl.hoobs.org/bleeding | sudo -E bash -

This branch doesn't have the bundle in it. So to install run this.

sudo apt install -y hoobs-cli hoobsd hoobs-gui

Once that finishes you have to install the service.

sudo hbs install

It will ask you to select a port. 80 is the default, but you can change it if you need to.

If you want to have a web based terminal too. Run this.

sudo apt install -y helm

@hermsdad
Copy link
Author

hermsdad commented Sep 30, 2021 via email

@hermsdad
Copy link
Author

hermsdad commented Oct 1, 2021 via email

@hermsdad
Copy link
Author

hermsdad commented Oct 1, 2021 via email

@hermsdad
Copy link
Author

hermsdad commented Oct 1, 2021 via email

@mkellsy
Copy link
Contributor

mkellsy commented Oct 1, 2021

This is wired, your Debian install is not installing dependencies automatically.
What version of Debian? How did you install it?

You might need to update the OS.

  1. Edit the /etc/apt/sources.list file and replace all instalces of buster with bullseye
    sudo nano /etc/apt/sources.list
    
  2. Then run
    sudo apt update
    
  3. Then run
    sudo apt upgrade
    
  4. Then run
    sudo apt full-upgrade
    

After this reboot. You should be on Debian 11.

I find this a little wired, I actually develop HOOBS on Debian. It is the most tested platform.
I will try to deploy it on Debian 11 this weekend and see if the .deb files are doing what they are supposed to.

@hermsdad
Copy link
Author

hermsdad commented Oct 2, 2021 via email

@majelbstoat
Copy link

majelbstoat commented Oct 3, 2021

Not related please open another task or email info@hoobs.com

@mkellsy
Copy link
Contributor

mkellsy commented Oct 5, 2021

I adjusted the install scripts to handle the "oldstable" thing.

Run it again

wget -qO- https://dl.hoobs.org/stable | sudo -E bash -

It will fix the NodeSource repo.
Then run this.

sudo apt install -y hoobsd hoobs-cli hoobs-gui

This will upgrade everything.

Then reboot to be safe.

sudo shutdown -r now

@hermsdad
Copy link
Author

hermsdad commented Oct 5, 2021 via email

@mkellsy
Copy link
Contributor

mkellsy commented Oct 5, 2021

Use “edge” instead it’s more stable.

@hermsdad
Copy link
Author

hermsdad commented Oct 5, 2021 via email

@mkellsy
Copy link
Contributor

mkellsy commented Oct 5, 2021

Yep

@mkellsy
Copy link
Contributor

mkellsy commented Oct 5, 2021

I just ran your command on my device. It's wrong. Use this

wget -qO- https://dl.hoobs.org/edge | sudo bash -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discovery Issues reported without enough information
Projects
None yet
Development

No branches or pull requests

4 participants