Install CasaOS on Leap

Hi all.

I’m trying to install CasaOS on openSUSE Leap 15.6 with Xfce.

I know it’s not exactly one of the supported OS, but I was wondering if anyone managed.

So far, I successfully installed some dependencies, but I’ve arrived here:

OK ] Update package manager complete.
which: no netstat in (/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin)
[ INFO ] Install the necessary dependencies: net-tools
Loading repository data...
Reading installed packages...
'net-tools' is already installed.
There are no candidate updates for 'net-tools-2.10-lp156.840.1.x86_64'. The latest available version is already installed.
Resolving package dependencies...
No action to take.
which: no netstat in (/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin)
[FAILED] Dependency net-tools installation failed, please try again manually!

This is strange because net-tools is actually installed.

Any idea to proceed further?

@shishimaru Correct netstat is deprecated in favor of ss etc…

cnf netstat
                         
The program 'netstat' can be found in following packages:
  * net-tools-deprecated [ path: /bin/netstat, repository: zypp (repo-oss) ]
  * net-tools-deprecated [ path: /usr/bin/netstat, repository: zypp (repo-oss) ]

Try installing with:
    zypper install net-tools-deprecated

Another way;

zypper se --provides /usr/bin/netstat

S  | Name                 | Summary                         | Type
---+----------------------+---------------------------------+--------
   | net-tools-deprecated | Deprecated Networking Utilities | package

It would also be useful to know how you installed CasaOS. :slight_smile:

Well, I really think I cannot proceed further :stuck_out_tongue:

I can’t see any clear error. The script on the website just works until it says that a directory or a file is missing. The dependencies can be installed with trial and error, and opi really helps. Net-tools is net-tools-deprecated

  OK  ] Update package manager complete.
[  OK  ] Current Docker version is 27.5.1-ce.
[ INFO ] Configuration CasaOS Addons
/tmp/casaos-installer/tmp.flwJksZIi2 /home/salvi_m1
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-Gateway/releases/download/v0.4.9-alpha4/linux-amd64-casaos-gateway-v0.4.9-alpha4.tar.gz...
linux-amd64-casaos- 100%[=================>]   3,48M  19,0MB/s    in 0,2s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-MessageBus/releases/download/v0.4.4-3-alpha2/linux-amd64-casaos-message-bus-v0.4.4-3-alpha2.tar.gz...
linux-amd64-casaos- 100%[=================>]   5,22M  17,1MB/s    in 0,3s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-UserService/releases/download/v0.4.8/linux-amd64-casaos-user-service-v0.4.8.tar.gz...
linux-amd64-casaos- 100%[=================>]   5,40M  25,2MB/s    in 0,2s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-LocalStorage/releases/download/v0.4.4/linux-amd64-casaos-local-storage-v0.4.4.tar.gz...
linux-amd64-casaos- 100%[=================>]  12,94M  32,0MB/s    in 0,4s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-AppManagement/releases/download/v0.4.10-alpha2/linux-amd64-casaos-app-management-v0.4.10-alpha2.tar.gz...
linux-amd64-casaos- 100%[=================>]  25,86M  38,0MB/s    in 0,7s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS/releases/download/v0.4.15/linux-amd64-casaos-v0.4.15.tar.gz...
linux-amd64-casaos- 100%[=================>]   6,54M  23,9MB/s    in 0,3s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-CLI/releases/download/v0.4.4-3-alpha1/linux-amd64-casaos-cli-v0.4.4-3-alpha1.tar.gz...
linux-amd64-casaos- 100%[=================>]   4,08M  20,8MB/s    in 0,2s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-UI/releases/download/v0.4.20/linux-all-casaos-v0.4.20.tar.gz...
linux-all-casaos-v0 100%[=================>]  11,09M  27,5MB/s    in 0,4s    
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-AppStore/releases/download/v0.4.5/linux-all-appstore-v0.4.5.tar.gz...
linux-all-appstore- 100%[=================>] 500,50K  --.-KB/s    in 0,1s    
[ INFO ] Extracting linux-all-appstore-v0.4.5.tar.gz...
[ INFO ] Extracting linux-all-casaos-v0.4.20.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-app-management-v0.4.10-alpha2.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-cli-v0.4.4-3-alpha1.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-gateway-v0.4.9-alpha4.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-local-storage-v0.4.4.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-message-bus-v0.4.4-3-alpha2.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-user-service-v0.4.8.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-v0.4.15.tar.gz...
/home/salvi_m1
[ INFO ] Running /tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/migration/script.d/01-migrate-gateway.sh...
✅ CURRENT_VERSION: v0.4.8
✅ SOURCE_VERSION: v0.4.8
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/migration/script.d/02-migrate-user-service.sh...
✅ CURRENT_VERSION: v0.4.8
✅ SOURCE_VERSION: v0.4.8
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/migration/script.d/03-migrate-casaos.sh...
✅ CURRENT_VERSION: v0.4.15
✅ SOURCE_VERSION: v0.4.15
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/migration/script.d/04-migrate-local-storage.sh...
✅ CURRENT_VERSION: v0.4.4
✅ SOURCE_VERSION: v0.4.4
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/migration/script.d/05-migrate-message-bus.sh...
✅ CURRENT_VERSION: v0.4.4
✅ SOURCE_VERSION: v0.4.4
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/migration/script.d/06-migrate-app-management.sh...
✅ CURRENT_VERSION: v0.4.5
✅ SOURCE_VERSION: v0.4.5
✅ Migration is not needed.
[ INFO ] Installing CasaOS...
[ INFO ] Running /tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/setup/script.d/01-setup-gateway.sh...
/tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/setup/script.d/01-setup-gateway.sh: riga 18: pushd: opensuse-leap/: File o directory non esistente
/tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/setup/script.d/01-setup-gateway.sh: riga 20: pushd: opensuse-leap: File o directory non esistente
/tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/setup/script.d/01-setup-gateway.sh: riga 23: pushd: suse: File o directory non esistente
/tmp/casaos-installer/tmp.flwJksZIi2/build/scripts/setup/script.d/01-setup-gateway.sh: riga 23: pushd: opensuse: File o directory non esistente
[FAILED] Failed to run setup script

Well, again, we might be able to provide some guidance if you tell us which package you installed and how you installed it. From the fact that it shows that it’s looking for netstat in net-tools and not net-tools-deprecated suggests that the package may not have been packaged for openSUSE, but for another distribution.

RPMs sometimes - but not always- can be used from other distributions. But when they don’t work, it’s usually because dependencies are rarely called the same thing between different distributions.

According to their git repo, they officially support Debian 12, Ubuntu Server 20.04, and Raspberry Pi OS.

So it seems likely that there’s been no testing on their part running on any openSUSE distribution.

You might have some luck either asking in their support venues, or maybe running it inside Distrobox (which itself runs in Docker; Docker-in-Docker can be tricky, but it might be worth a try). With Distrobox, you can have a Ubuntu or Debian image that it may run in.

I’m sorry, it’s just difficult for me to remember what are the dependencies as CasaOS requires to use one line in a terminal to install everything automatically. If it doesn’t find a package, the user has to provide with it alone. Also, the wiki doesn’t give much. Perhaps this for Arch Linux gives more details Install on Arch Linux | CasaOS Wiki (so: docker, unzip, net-tools, samba, etc.)

I used opi to search through the repos.

The output you can see from yesterday’s message is all we get. Probably the whole big script needs an adjustment for Suse.

Probably it’s not worth the hassle as the project doesn’t seem that big and supported. I can probably work with YaST2 and use Samba, Tailscale, VNC and more.
Also no, I prefer to not run it in distrobox, as I’m concerned about the general performance efficiency, storage used and I don’t even know if CasaOS will see my disks.

Distrobox isn’t virtualization, it runs things natively, so in terms of performance, there’s unlikely to be any performance degradation. As it’s using Docker, making drives available as volumes is pretty easy to do, too.

But what I want to know is how you started your installation. Did you install following the instructions on their website, did you download a CasaOS RPM from somewhere (and if so, where?). How you figured out dependencies is one thing, but if someone wanted to try to install it the way you started to see what the issues were first-hand and how to resolve them, knowing where you started from is essential.

This is the known way to install CasaOS Get Started | CasaOS Wiki

It’s either one command or the other. Nothing else to do.

That’s helpful to know. Without you telling us that you did this (which one of the two did you do?), we have no way of knowing if you found it pre-packaged somewhere and installed it that way or not.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.