Alexbelgium repo : 90+ addons

I solved it: on my iMac shared a folder. In Nextcloud I added the “external storage” option.
Add SMB to my iMac. On my mobile a used the SMB path for auto upload photo’s and now everything is uploaded directly to a folder in my iMac. Now the /share/ folder will be empty :slight_smile:

2 Likes

Glad it worked! Nextcloud 23 was just pushed there seems to be many changes including much faster sync and new apps. Thanks for the feedback on how you did it, I’m sure it will be useful to other people in the same context

Hi, do you know what this can be:

Installed Nextcloud on a test HA on a different RPi. Because Im gonna test the Cloudflare add-on.

config:

PUID: 1000
PGID: 1000
use_own_certs: true
certfile: ‘’
keyfile: ‘’
trusted_domains: nc.mydomain.com,192.168.100.0/24
OCR: false
OCRLANG: fra
Full_Text_Search: false
elasticsearch_server: ip:port

I use my own certs… and still get this error:

nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)

Hi! Strange could you please save your options again (just save, in case the value true was not set corrextly in supervisor), restart, and paste here the full addon log? Thanks very much :slight_smile:

1 Like

Here you are

There are trusted domain given.
Also removed Addon and reinstalled it.
This has nothing to do that HA itself is not running over ssl right now?

 Nextcloud for Home Assistant
-----------------------------------------------------------
 Add-on version: 23.0.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 6.6  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2021.11.5
 Home Assistant Supervisor: 2021.10.8
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-envfile: executing... 
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing... 
-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid:    1000
User gid:    1000
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing... 
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing... 
[21:46:26] INFO: Using referenced ssl certificates...
... checking if referenced files exist
[21:46:26] FATAL: ... Certificate /ssl/ not found
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing... 
[cont-init.d] 40-config: exited 0.
[cont-init.d] 50-install: executing... 
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing... 
[cont-init.d] 60-memcache: exited 0.
[cont-init.d] 70-aliases: executing... 
[cont-init.d] 70-aliases: exited 0.
[cont-init.d] 90-custom-folders: executing... 
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing... 
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] 99-elasticsearch: executing... 
Nextcloud is not installed - only a limited number of commands are available
Full_Text_Search option not set
[cont-init.d] 99-elasticsearch: exited 0.
[cont-init.d] 99-ocr: executing... 
Nextcloud is not installed - only a limited number of commands are available
[cont-init.d] 99-ocr: exited 0.
[cont-init.d] 99-trusted_domains: executing... 
Nextcloud is not installed - only a limited number of commands are available
[21:46:31] INFO: Currently set trusted domains :
Nextcloud is not installed - only a limited number of commands are available
                                                                   
  There are no commands defined in the "config:system" namespace.  
                                                                   
[21:46:32] INFO: No trusted domain set yet. The first one will be set when doing initial configuration
[21:46:32] INFO: Trusted domains set in the configuration. Refreshing domains.
[21:46:32] INFO: ... removing previously added trusted domain (except for first one created)
Nextcloud is not installed - only a limited number of commands are available
                                                                   
  There are no commands defined in the "config:system" namespace.  
                                                                   
[cont-init.d] 99-trusted_domains: exited 1.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: [emerg] cannot load certificate "/ssl/nextcloud/keys/cert.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/ssl/nextcloud/keys/cert.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
1 Like

Ah, everything is normal then! Your certfile and keyfile are empty in your addon config - you need to reference your files to allow using them. The error message is simply that your certs are not referenced. I’ll add a clearer message in next version and stop the addon if the certificate is not found

thanks the point. I want use own ssl (via NPM). So NC must run without ssl enabled.

On my running HA this is the config for NC:

PUID: 1000
PGID: 1000
use_own_certs: true
certfile: fullchain.pem
keyfile: privkey.pem
trusted_domains: 192.168.100.0/24,ncp.mydomain.com
OCR: true
OCRLANG: nld
Full_Text_Search: false
elasticsearch_server: ip:port

Also not given the path to cert/key

Indeed, and you have checked use_your _certs and put the links. Currently you can’t run it without ssl but that’s not an issue, you can have a double layer of ssl (one from web to your system, one from HA to nc. Just uncheck use_own_certs and it will work.

I see now that on my running system there are certs and NC is using those.
And over that the NPM has a ssl

Now its clear for me :slight_smile:

1 Like

Glad it’s working! Have a nice day

1 Like

New addon : linuxserver webtop Alpine.
Run an entire alpine desktop environment hosted on your HA system! There is no link to HA as such, but it allows to self host it on the system. More info : Meet Webtops A Linux Desktop Environment In Your Browser | LinuxServer.io
I am not linked in anyway to linuxserver, just uses their great images to create rocksolid and frequently updated addons.

1 Like

Hi, I’ve completely rewritten the dockerfile logic to make it more standardized and robust. It should allow addons to be easier to update, to install on more devices (such as supervised systems where it crashed previously), and more robust as additional packages are downloaded dynamically instead of being manually inputed by myself,

I’ve tested it as much as I can, but as there are no +/- 41 fully woring addons in the repo, there could have been some elements that went through the cracks (as some of you noted in the past days). Please let me know if you see anything strange! As improving one addon will now help improve all of them.

Thanks for using my addons, and for your feedbacks!

ps : new addons

  • Mylar3 : comic books downloader
  • arpspoof : allow blocking devices from network
1 Like

Did you update the version numbers also? Because I don’t see any updates on HA :slight_smile:

1 Like

I’m getting an error when trying to install Photoprism

21-12-11 22:35:41 INFO (MainThread) [supervisor.addons] Creating Home Assistant add-on data folder /data/addons/data/db21ed7f_photoprism
21-12-11 22:35:41 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: db21ed7f_photoprism
21-12-11 22:35:41 INFO (SyncWorker_4) [supervisor.docker.addon] Starting build for db21ed7f/amd64-addon-photoprism:210217-49039368-5
21-12-11 22:36:53 ERROR (SyncWorker_4) [supervisor.docker.addon] Can't build db21ed7f/amd64-addon-photoprism:210217-49039368-5: The command '/bin/sh -c mkdir -m 777 -p     /data/photoprism/originals     /data/photoprism/import     /data/photoprism/storage/config     /data/photoprism/backup     /data/photoprism/storage/cache &&     chown -Rf photoprism:photoprism /data/photoprism &&     chmod -Rf a+rwx /data/photoprism     && chmod 777 /run.sh' returned a non-zero code: 1
21-12-11 22:36:53 ERROR (SyncWorker_4) [supervisor.docker.addon] Build log: 
Step 1/25 : ARG BUILD_FROM
Step 2/25 : ARG BUILD_VERSION
Step 3/25 : ARG BUILD_UPSTREAM="210217-49039368"
Step 4/25 : FROM photoprism/photoprism:preview
 ---> 27d90c075e43
Step 5/25 : RUN     mkdir -m 777 -p     /data/photoprism/originals     /data/photoprism/import     /data/photoprism/storage/config     /data/photoprism/backup     /data/photoprism/storage/cache &&     chown -Rf photoprism:photoprism /data/photoprism &&     chmod -Rf a+rwx /data/photoprism     && chmod 777 /run.sh
 ---> Running in 1de748abcca4
chmod: cannot access '/run.sh': No such file or directory

Removing intermediate container 1de748abcca4

edit: works with 20211210 / HA 2021.12

1 Like

Thanks, I’ve pushed a v6 that will solve this.

@poudenes: hi, I haven’t updated the versions number to avoid having too many people updating at the same time if there are still errors… Usually I only change of version number when I solve a bug (like now) or when there is a new version of the base app. For updates between app version I usually don’t modify the addon version and just rebuilds it on my system to test… I think that’s what fits most users

1 Like

Update : full list updated in first post
New addon : nzbget (usenet download)

1 Like

Hey,

I installed the Plex NAS and I can’t add sources for music or something. The SMB drive is linked correctly but doesn’t see the path in Plex.

Edit: got a new claim token. Problem solved

1 Like

I updated Joplin and now its crashing i get this error:
( i created a issue on github also to monitor this)

Starting...
scripts/00-aaa_dockerfile_backup.sh: executing
scripts/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: Joplin Server
 Self-hosted open source note-taking application
-----------------------------------------------------------
 Add-on version: 2.6.9
 You are running the latest version of this add-on.
 System: Home Assistant OS 7.0  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2021.12.3
 Home Assistant Supervisor: 2021.12.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
scripts/99-run.sh: executing
[12:02:09] WARNING: Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory. Otherwise the system will become unresponsive and crash.
-----------------------------------------------------------
 Add-on: Joplin Server
 Self-hosted open source note-taking application
-----------------------------------------------------------
 Add-on version: 2.6.9
 You are running the latest version of this add-on.
 System: Home Assistant OS 7.0  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2021.12.3
 Home Assistant Supervisor: 2021.12.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
[12:02:10] INFO: Database client set
[12:02:10] INFO: Postgrep Password set
[12:02:11] INFO: Postgrep Database set
[12:02:11] INFO: Postgrep User set
[12:02:11] INFO: Postgrep Port set
[12:02:12] INFO: Postgrep Host set
[12:02:13] INFO: Starting Joplin. Initial user is "admin@localhost" with password "admin"
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /packages/server/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/packages/server/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-12-18T11_02_14_968Z-debug.log
scripts/99-run.sh: exiting 254

Removed the Addon and reinstalled it. Didn’t work also. Same error.

For other people seeing this thread : discussed and solved on github. If you have this error, just update to the latest version. Thanks poudenes for the report!

New addon :

  • whoogle-search A self-hosted, ad-free, privacy-respecting metasearch engine
1 Like