Closed berga closed 3 years ago
Nice one! Let's see if this passes CI. We have to test the upgrade path for existing users though, because of the different postgis package. Thanks for the PR!
Looks like we could also enable x86.. Although I don't know if this is used anywhere in home-assistant world.
Can you try using docker image 1.1.5 manually? It's a prelease now. Edit: When doing armv7, I also want to support armhf (and possibly i386) in 1 update, so the users database downtime is kept to a minimum.
Hi,
I'm sorry for the delay, I'm running the latest version since last commit and it's going well:
Add-on version: 1.1.5
You are running the latest version of this add-on.
parse error: Expected string key before ':' at line 1, column 4
[17:37:28] ERROR: Unknown HTTP error occured
System: (armv7 / raspberrypi4)
Home Assistant Core: 0.116.4
Home Assistant Supervisor: 247
Allright! I will upgrade the instance to support armhf/i386 as well..
Released v1.1.6, which also added armhf and i386.
Thanks @berga for your help!
The addon works for 32-bit but the postgis extension doesn't.
I'm getting the following error when I want to create the extension:
ERROR: could not load library "/usr/lib/postgresql/postgis-3.so": Error relocating /usr/lib/postgresql/postgis-3.so: __time64: symbol not found
Is that 64-bit related?
Hmm I suppose it is indeed. See if we can get this fixed for you. Whats is your current setup? Like device&architechture?
@Expaso I was on Raspberry Pi 4 with HassOS 32-bit version (v4.x). I've recently migrated to HassOS 64-bit due to a migration to full SSD.
So now I am on Raspberry Pi 4 with NVMe SSD with HassOS 64-bit (v5.x pre-release) and this plugin works as expected. 👍 But there might be others out there who might want to use Postgis.
Should be fixed in the upcoming 2.0.0 release.
Caution! Running PostgreSQL on non 64-Bit architectures is no longer supported due to the lack of resources (mem <2GB). Since the 64-bit versions of Hassos are now the recommended versions, support for non 64-bit architectures will be removed in future versions of this addon.
I've already upgrade to x64 so no problem here. Thanks for the feedback anyways!
Following issue Expaso/hassos-addons#5 I've tried to compile this on armv7 throws some errors on GO tools and alpine package dependencies