GithubHelp home page GithubHelp logo

Comments (8)

tobbenb avatar tobbenb commented on August 22, 2024

Have you tried using a clean setup, not reusing your existing config from the 32bit setup?
You don't have to specify the arch when pulling the container. Use linuxserver/unifi-controller and docker will pull the correct arch.

On second thoughts, I'm not sure if I understand your 32 to 64 bit upgrade. Are you saying you only enable it in the boot file and then only ran apt-get update and upgrade? You have to install a 64 bit os to get it to work. I'm not sure raspbian have a 64 bit release for the pi 3.

from docker-unifi-controller.

paul-theorem avatar paul-theorem commented on August 22, 2024

I have not, but i can do pretty easy. Let me try that and get back to you. I'll start with a completely empty data directory. I only care about the config (trivial to backup), not the history data anyway.

from docker-unifi-controller.

paul-theorem avatar paul-theorem commented on August 22, 2024

First - trying with a clean setup, it does seem to error in the same way:

pi@unifi-controller:~/unifi64 $ docker-compose up
Creating unifi-controller64 ... done
Attaching to unifi-controller64
unifi-controller64 exited with code 159
pi@unifi-controller:~/unifi64 $ ls -la data/
total 8
drwxr-xr-x 2 pi pi 4096 Apr 23 09:26 .
drwxr-xr-x 3 pi pi 4096 Apr 23 11:16 ..

from docker-unifi-controller.

paul-theorem avatar paul-theorem commented on August 22, 2024

Regarding "a 64 bit os" - raspbian seems to be in a mixed mode - with a 64 bit kernel, and some 32, some 64 bit packages. Clearly the kernel is running in 64 bit mode

pi@unifi-controller:~/unifi64 $ uname -a
Linux unifi-controller 4.19.97-v8+ #1294 SMP PREEMPT Thu Jan 30 13:27:08 GMT 2020 aarch64 GNU/Linux

aarch64

That said - i'm totally open to another OS, and is sort of what i was asking in the title.

Can you suggest an OS that is 64 bit arm? Ie - i'm happy to try a complete OS upgrade (i have several rpis) - but i don't know what OS to choose. I'd like to choose an OS where you might know and/or have tested or developed the 64 bit arm docker images?

What OS do you suggest for me - Raspberry PI 3B+

from docker-unifi-controller.

tobbenb avatar tobbenb commented on August 22, 2024

I found out after my last comment that the is is still 32 bit but you can run 64 bit binaries in a special mode.

I'm not sure which distros is true aarch64, but I think Ubuntu is.

from docker-unifi-controller.

aptalca avatar aptalca commented on August 22, 2024

yeah, I recommend the official ubuntu. That one has 64 bit versions

from docker-unifi-controller.

paul-theorem avatar paul-theorem commented on August 22, 2024

I will build out a new controller with ubuntu, and give it a try. Thanks for the recommendation. I think many (maybe most) running arm are on RPI 3 or 4 - so you might throw an OS recommendation on the default documentation. But i appreciate the response. Feel free to close this - or leave it open and I can comment in the next 24 hours when i give it a try w/ ubuntu.

from docker-unifi-controller.

paul-theorem avatar paul-theorem commented on August 22, 2024

I can confirm ubuntu 64 bit works on rpi3 using (essentially) the same dockerfile as above.

Thanks.

from docker-unifi-controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.