BeardedTek-com / hassio-addons

BeardedTek.com hassio addons
Apache License 2.0
1 stars 0 forks source link

Beta rc6 as add-on ? #5

Open thundergreen opened 2 years ago

thundergreen commented 2 years ago

Wanna try this nice add-on but possible to have beta testing ?

BeardedTek commented 2 years ago

I have it half running so far. The mqtt_client isn't starting properly yet. This may take a bit of time to figure out how to do it more properly.

BeardedTek commented 2 years ago

Okay, it should be up and running now...

Make sure it is version 0.6.10 or higher.

For now, if you update it YOU WILL LOSE ALL YOUR EVENTS.

This is for testing purposes only and will be updated in the future to save to a different location when I have more time.

BeardedTek commented 2 years ago

Okay, that doesn't work either. Small snag in the setup script parsing. I'll have to look more into this next week.

thundergreen commented 2 years ago

No problem will wait 👍

thundergreen commented 2 years ago

I get 172.30.32.2 - - [29/Apr/2022 08:49:25] "GET HTTP/1.1" 308 bit no Webinterface

BeardedTek commented 2 years ago

Just released 0.6.11 Ingress does not work, however, if you visit :5180 to access fEVR. I will look into ingress issues later this week.

BeardedTek commented 2 years ago

0.6.15 Released.

Less spamming the logs Simplified configuration Still need to get ingress working right...

Please keep in mind that these releases are for TESTING PURPOSES ONLY.

Every time it is upgrade, the configuration, data, clips, snapshots, etc are deleted.

Once fEVR 0.6.0 stable is released I will address data retention.

thundergreen commented 2 years ago

Will test and report thanks a lot

BeardedTek commented 2 years ago

From what my testing shows, if frigate is also running as a hass.io addon, it should work. If frigate is running outside home assistant, an MQTT bridge is required.

If you have everything as an addon it will be very valuable testing.

thundergreen commented 2 years ago

I've everything running as add-on .so it should be ok. Just waiting ingress to work 😊 don't wanna open port jsut for testing . But once at home I'll test it

BeardedTek commented 2 years ago

Yeah, I honestly haven't looked into the ingress issue much yet. Time to do some research and documentation tomorrow.

thundergreen commented 2 years ago

well still not working :( same error

thundergreen commented 2 years ago

accessing via ha_ip:port doesn't work either.. seemsl like it only listens to docker ip

BeardedTek commented 2 years ago

Can you try both ha_ip:5180 and ha_ip:5090

The ingress is definitely not working. I'll be digging into that today.

BeardedTek commented 2 years ago

Also, take a look at your logs. Can youcopy or screenshot the visible logs from the fEVR login?

thundergreen commented 2 years ago

Let me check the other port ..revert asap

BeardedTek @.***> schrieb am Di., 31. Mai 2022, 19:32:

Can you try both ha_ip:5180 and ha_ip:5090

The ingress is definitely not working. I'll be digging into that today.

— Reply to this email directly, view it on GitHub https://github.com/BeardedTek-com/hassio-addons/issues/5#issuecomment-1142418735, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADFUA7YJ6EMH4A6TJN57PCTVMZEKXANCNFSM5UTT3NCA . You are receiving this because you authored the thread.Message ID: @.***>

thundergreen commented 2 years ago

ok 5090 works but register doesn't work :(

thundergreen commented 2 years ago
  File "/fevr/venv/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/fevr/venv/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request
    rv = self.dispatch_request()
  File "/fevr/venv/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/fevr/app/auth.py", line 143, in signup
    resp = make_response(render_template('setupadmin.html',type='admin'))
  File "/fevr/venv/lib/python3.10/site-packages/flask/templating.py", line 148, in render_template
    return _render(
  File "/fevr/venv/lib/python3.10/site-packages/flask/templating.py", line 128, in _render
    rv = template.render(context)
  File "/fevr/venv/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/fevr/venv/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/fevr/app/templates/setupadmin.html", line 1, in top-level template code
    {% extends "setup.html" %}
  File "/fevr/app/templates/setup.html", line 1, in top-level template code
    {% extends "home.html" %}
  File "/fevr/app/templates/home.html", line 57, in top-level template code
    {% block content %}
  File "/fevr/app/templates/setup.html", line 18, in block 'content'
    {% for item in items['db'] %}
  File "/fevr/venv/lib/python3.10/site-packages/jinja2/environment.py", line 466, in getitem
    return obj[argument]
jinja2.exceptions.UndefinedError: 'items' is undefined
30.30.30.36 - - [31/May/2022 17:43:49] "GET /favicon.ico HTTP/1.1" 404 -
30.30.30.36 - - [31/May/2022 17:44:21] "GET /favicon.ico HTTP/1.1" 404 -
30.30.30.36 - - [31/May/2022 17:44:21] "GET /static/img/favicon.png HTTP/1.1" 200
BeardedTek commented 2 years ago

As it says in the documentation for the addon you need to visit ha_ip:5090/setup

This will add an admin account first. If there are no admin accounts a regular account cannot be made and no errors are show saying that on purpose.

thundergreen commented 2 years ago

ok getting closer will check docs first :)

BeardedTek commented 2 years ago

Although that error is menacing. I need to catch that so it appears in the logs better.

BeardedTek commented 2 years ago

Just released v0.6-RC3 in the main repo. I'm going to test it out for a bit and release a new addon in the next couple days.