Alexbelgium repo : 90+ addons

Well the files I need access to are indeed in the media mount

Then if physical files are in /media, then should be available as long as the addon config maps this folder for internal usage

I’ ve installed the “papermerge” application and the “wger”. Both add-ons do not show the ui-window at homeassistant.local:8000. The config in “wger” was set to port 9927, but this did not work either.

The PAPERMERGE-protocoll shows some Syntax errors - no idea, if they are relevant.
WGER-protocol starts with a permission error: “touch: cannot touch ‘/data/database.sqlite’: Permission denied”.

Here are the protocols of both apps, showing a lot of error-messages.

thanks for any hint.

PAPERMERGE-protocol:
File “/usr/local/lib/python3.8/dist-packages/django/core/management/init.py”, line 401, in execute_from_command_line
utility.execute()
File “/usr/local/lib/python3.8/dist-packages/django/core/management/init.py”, line 345, in execute
settings.INSTALLED_APPS
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 82, in getattr
self._setup(name)
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 69, in _setup
self._wrapped = Settings(settings_module)
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 848, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/app/papermerge/config/settings/production.py”, line 1, in
from .base import * # noqa
File “/app/papermerge/config/settings/base.py”, line 14, in
cfg_papermerge = try_load_config(
File “/usr/local/lib/python3.8/dist-packages/mglib/utils.py”, line 129, in try_load_config
cfg_papermerge, cfg_file_found = load_config(config_file)
File “/usr/local/lib/python3.8/dist-packages/mglib/utils.py”, line 114, in load_config
spec.loader.exec_module(mod)
File “papermerge.conf.py”, line 17
OCR_LANGUAGES = {
^
SyntaxError: unexpected EOF while parsing
[uwsgi-daemons] throttling “/usr/bin/python3 ./manage.py worker” for 20 seconds
[uwsgi-daemons] respawning “/usr/bin/python3 ./manage.py worker” (uid: 0 gid: 0)
Traceback (most recent call last):
File “./manage.py”, line 24, in
execute_from_command_line(sys.argv)
File “/usr/local/lib/python3.8/dist-packages/django/core/management/init.py”, line 401, in execute_from_command_line
utility.execute()
File “/usr/local/lib/python3.8/dist-packages/django/core/management/init.py”, line 345, in execute
settings.INSTALLED_APPS
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 82, in getattr
self._setup(name)
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 69, in _setup
self._wrapped = Settings(settings_module)
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 848, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/app/papermerge/config/settings/production.py”, line 1, in
from .base import * # noqa
File “/app/papermerge/config/settings/base.py”, line 14, in
cfg_papermerge = try_load_config(
File “/usr/local/lib/python3.8/dist-packages/mglib/utils.py”, line 129, in try_load_config
cfg_papermerge, cfg_file_found = load_config(config_file)
File “/usr/local/lib/python3.8/dist-packages/mglib/utils.py”, line 114, in load_config
spec.loader.exec_module(mod)
File “papermerge.conf.py”, line 17
OCR_LANGUAGES = {
^
SyntaxError: unexpected EOF while parsing
[uwsgi-daemons] respawning “/usr/bin/python3 ./manage.py worker” (uid: 0 gid: 0)
Traceback (most recent call last):
File “./manage.py”, line 24, in
execute_from_command_line(sys.argv)
File “/usr/local/lib/python3.8/dist-packages/django/core/management/init.py”, line 401, in execute_from_command_line
utility.execute()
File “/usr/local/lib/python3.8/dist-packages/django/core/management/init.py”, line 345, in execute
settings.INSTALLED_APPS
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 82, in getattr
self._setup(name)
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 69, in _setup
self._wrapped = Settings(settings_module)
File “/usr/local/lib/python3.8/dist-packages/django/conf/init.py”, line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 848, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/app/papermerge/config/settings/production.py”, line 1, in
from .base import * # noqa
File “/app/papermerge/config/settings/base.py”, line 14, in
cfg_papermerge = try_load_config(
File “/usr/local/lib/python3.8/dist-packages/mglib/utils.py”, line 129, in try_load_config
cfg_papermerge, cfg_file_found = load_config(config_file)
File “/usr/local/lib/python3.8/dist-packages/mglib/utils.py”, line 114, in load_config
spec.loader.exec_module(mod)
File “papermerge.conf.py”, line 17
OCR_LANGUAGES = {
^
SyntaxError: unexpected EOF while parsing
[uwsgi-daemons] throttling “/usr/bin/python3 ./manage.py worker” for 22 seconds

WGER-protocol:

touch: cannot touch ‘/data/database.sqlite’: Permission denied
Traceback (most recent call last):
File “/usr/local/lib/python3.10/dist-packages/environ/environ.py”, line 403, in get_value
value = self.ENVIRON[var_name]
File “/usr/lib/python3.10/os.py”, line 679, in getitem
raise KeyError(key) from None
KeyError: ‘FROM_EMAIL’

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/local/bin/invoke”, line 8, in
sys.exit(program.run())
File “/usr/local/lib/python3.10/dist-packages/invoke/program.py”, line 384, in run
self.execute()
File “/usr/local/lib/python3.10/dist-packages/invoke/program.py”, line 566, in execute
executor.execute(*self.tasks)
File “/usr/local/lib/python3.10/dist-packages/invoke/executor.py”, line 129, in execute
result = call.task(*args, **call.kwargs)
File “/usr/local/lib/python3.10/dist-packages/invoke/tasks.py”, line 127, in call
result = self.body(*args, **kwargs)
File “/home/wger/src/wger/tasks.py”, line 91, in bootstrap
setup_django_environment(settings_path)
File “/home/wger/src/wger/tasks.py”, line 345, in setup_django_environment
django.setup()
File “/usr/local/lib/python3.10/dist-packages/django/init.py”, line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File “/usr/local/lib/python3.10/dist-packages/django/conf/init.py”, line 82, in getattr
self._setup(name)
File “/usr/local/lib/python3.10/dist-packages/django/conf/init.py”, line 69, in _setup
self._wrapped = Settings(settings_module)
File “/usr/local/lib/python3.10/dist-packages/django/conf/init.py”, line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/home/wger/src/settings.py”, line 86, in
WGER_SETTINGS[‘EMAIL_FROM’] = f’wger Workout Manager <{env.str(“FROM_EMAIL”)}>’
File “/usr/local/lib/python3.10/dist-packages/environ/environ.py”, line 213, in str
value = self.get_value(var, cast=str, default=default)
File “/usr/local/lib/python3.10/dist-packages/environ/environ.py”, line 407, in get_value
raise ImproperlyConfigured(error_msg) from exc
django.core.exceptions.ImproperlyConfigured: Set the FROM_EMAIL environment variable
Traceback (most recent call last):
File “/home/wger/.local/bin/wger”, line 33, in
sys.exit(load_entry_point(‘wger’, ‘console_scripts’, ‘wger’)())
File “/home/wger/src/wger/main.py”, line 40, in main
run(invoke_cmd + ’ '.join(args), pty=True)
File “/usr/local/lib/python3.10/dist-packages/invoke/init.py”, line 48, in run
return Context().run(command, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/invoke/context.py”, line 95, in run
return self._run(runner, command, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/invoke/context.py”, line 102, in _run
return runner.run(command, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/invoke/runners.py”, line 380, in run
return self._run_body(command, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/invoke/runners.py”, line 442, in _run_body
return self.make_promise() if self._asynchronous else self._finish()
File “/usr/local/lib/python3.10/dist-packages/invoke/runners.py”, line 509, in _finish
raise UnexpectedExit(result)
invoke.exceptions.UnexpectedExit: Encountered a bad command exit code!
Command: ‘invoke bootstrap’
Exit code: 1
Stdout: already printed
Stderr: n/a (PTYs have no stderr)

Hi, for papermerge we have solved it through github, for wger indeed there is now a new issue. The problem is that the owner has removed preexisting images, I am not sure the latest one works with aarch64, and I don’t have for the moment my amd64 test env. So currently I’ve marked wger as broken until the app dev releases a new container

Hey - After the update of Mealie i cant get the information in to home assistant anymore with a rest sensor. Can you please share an example how to do. I am trying to get todays meal with picture.

Hi, if it’s after the udpate to v1 on aarch64 I recommand that you ask on Mealie’s app github as it could be linked to the big changes between this versions. I only create the addon but don’t know about this element of the underlying app…

You might want to take a look at https://github.com/dmyoung9/mealie-hacs

2 Likes

Hello @alexbelgium
(thx for your very fast push on Gazpar2mqtt ^^)

I have another question, regarding how the Gazpar2mqtt add-on works.
On a regular basis, the sensor becomes unavailable, and I noticed the add-on stops running.

Why is that ? how can i make it to stay running?

I noticed in the logs :
No schedule defined.
End of program

How do I schedule regular run ?

Thx a lot.

Hi, thanks
Just create an automation to restart periodically

Ah yes, sorry i’m kinda new to this, just found out how to do it :slight_smile:

thx a lot

1 Like

Hi, I’m trying to mount my network disk (connected to an asus router) configured like this:
//192.168.50.1/Multimedia
user: xxx
password: xxx

I get the “invalid argument” error (with the same configuration on in Windows). Where am I wrong?

Hello,

I’ve installed Sonarr, radarr and lidarr. Sonarr and Radarr are working fine but lidarr cannot access the downloaded files. It can see thaat there are files but it cannot move them.

It’s probably a permissions issue. but can someone help me out on how to solve this?

Thank you

I tryd now for several hours to connect my papermerge to my nas and use the storage but i am not able to do this - can someone help me ?

Using PUID 0 and PGID 0
[18:39:46] INFO: ... //192.168.178.47/home/scan successfully mounted to /mnt/scan with options 
cont-init: info: /etc/cont-init.d/92-smb_mounts.sh exited 0
cont-init: info: running /etc/cont-init.d/99-configuration.sh
[18:39:47] INFO: Storage dir set to //192.168.178.47/home/data
[18:39:47] INFO: Import dir set to //192.168.178.47/home/scan/new
Creating //192.168.178.47/home/data
Creating //192.168.178.47/home/scan/new
cont-init: info: /etc/cont-init.d/99-configuration.sh exited 0
cont-init: info: running /etc/cont-init.d/99-custom-scripts
[custom-init] no custom files found exiting...
CONFIG_LOCATION: /config/addons_config/papermerge
PGID: 0
PUID: 0
import_dir: //192.168.178.47/home/scan/new
ocrlang: deu
storage_dir: //192.168.178.47/home/data
networkdisks: //192.168.178.47/home/scan
cifspassword: THATSMYSECRET
cifsusername: manu

Hi, in the log it’s written INFO: ... //192.168.178.47/home/scan successfully mounted to /mnt/scan. Therefore, all your folders should start with /mnt/scan. Example : import_dir: /mnt/scan/import means that it will look for files in /192.168.178.47/home/scan/import

Hi all, sorry for the stupid question but could CUPS or similar be integrated into an addon to install? I would like to share a USB printer on the network that I would connect to the raspberry so I could print from my phone.
Thank you

I’m having problems with the installation of piwigo. The add-on installs ok, I configured the MariaDB database for piwigo, set the PGID and PUID to 1000 and changed the port to 82. After that I can access the piwigo installation page through <homeassitant_ip>:82. There, I set the MariaDB name and password, set the home assistant ip in mysql host, etc. The problem arrives when I click on “start installation” (or something like that since I have the interface in spanish), then I got an error 500 :frowning:

Any ideas what could be the problem?

Thanks in advance

1 Like

Any idea how I can install it if I don’t have the add on page ?

Hi Alex,

I’m an absolute beginner to elasticsearch so please forgive dumb questions :slight_smile:

After installation of the add-on I have checked the log files (as far as I could scroll up). Everything looks fine to me. Add-on is started.

In order to use Kibana I need to have an enrollment key. How do I get this?
When trying out elastic cloud it showed me the enrollment key but I have no idea where to get it in this local instance.

All help highly appreciated.
Thanks
Ralf

Not sure what you mean. You probably have to request help on the offical community pages. Most likely you haven’t enabled advanced mode in the HA options which prevents you to see the addons

Hi Ralf, thanks for your enquiry! Actually I’ve never used elasticsearch myself so I can’t really help… I suggest to you check the elasticsearch repo here elasticsearch - Official Image | Docker Hub ; if you find something that I should implement in the addon I’ll add it!

Best regards