alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.52k stars 214 forks source link

✨ [REQUEST] Switch to papermerge:papermerge #720

Open kolossboss opened 1 year ago

kolossboss commented 1 year ago

Papermerge

Describe the bug

The Web UI does not work since update to v2.1.5-ls61

Full addon log

 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/00-folders.sh
[12:07:15] INFO: Setting config location to /config/addons_config/papermerge
cont-init: info: /etc/cont-init.d/00-folders.sh exited 0
cont-init: info: running /etc/cont-init.d/01-custom_script.sh
[12:07:15] INFO: Execute /config/addons_autoscripts/papermerge.sh if existing
[12:07:15] INFO: ... no script found
cont-init: info: /etc/cont-init.d/01-custom_script.sh exited 0
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/01-migrations
[migrations] started
[migrations] no migrations found
cont-init: info: /etc/cont-init.d/01-migrations exited 0
cont-init: info: running /etc/cont-init.d/10-adduser
-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid:    1003
User gid:    1003
-------------------------------------
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/91-OCR.sh
[12:07:15] INFO: Configuring 1 languages
[12:07:15] INFO: OCRLANG variable is set, processing the language packages
[12:07:15] INFO: Writing new configuration
[12:07:18] INFO: Processing language deu
[12:07:19] INFO: Installing tesseract-ocr-deu
[12:07:41] INFO: deu identified as German
[12:07:41] INFO: ... deu installed
cont-init: info: /etc/cont-init.d/91-OCR.sh exited 0
cont-init: info: running /etc/cont-init.d/92-smb_mounts.sh
Mounting smb share(s)...
Using PUID 1003 and PGID 1003
[12:07:42] INFO: ... //192.168.2.2/Daten/Papermerge successfully mounted to /mnt/Papermerge 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
[12:07:42] INFO: Storage dir set to /mnt/Papermerge/storage
[12:07:42] INFO: Import dir set to /mnt/Papermerge/import
cont-init: info: /etc/cont-init.d/99-configuration.sh exited 0
cont-init: info: running /etc/cont-init.d/99-custom-files
[custom-init] No custom files found, skipping...
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
cont-init: info: running /etc/cont-init.d/99-deprecation
******************************************************
******************************************************
*                                                    *
*                                                    *
*             This image is deprecated.              *
*      We will not offer support for this image      *
*             and it will not be updated.            *
*                                                    *
*                                                    *
******************************************************
******************************************************
The last working tag is:
      v2.0.1-ls60
cont-init: info: /etc/cont-init.d/99-deprecation exited 0
We recommend the official image instead:
https://hub.docker.com/r/papermerge/papermerge
******************************************************
******************************************************
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
[ls.io-init] done.
s6-rc: info: service 99-ci-service-check successfully started

Full addon config

CONFIG_LOCATION: /config/addons_config/papermerge
PGID: 1003
PUID: 1003
import_dir: /mnt/Papermerge/import
ocrlang: deu
storage_dir: /mnt/Papermerge/storage
cifspassword: xxxxxxx
cifsusername: xxxxxxx
networkdisks: //192.168.2.2/Daten/Papermerge
TZ: DE

System

Generic x86-64

Home Assistant 2023.2.5 Supervisor 2023.01.1 Operating System 9.5 Frontend 20230202.0 - latest

alexbelgium commented 1 year ago

Indeed, it is deprecated as shown in the log :

The last working tag is:
      v2.0.1-ls60
cont-init: info: /etc/cont-init.d/99-deprecation exited 0
We recommend the official image instead:
https://hub.docker.com/r/papermerge/papermerge

I'll revert and pause updates

SloppolS commented 1 year ago

Thanks a lot. Is it possible to move this addon to the official image, so we can get the newest version?

alexbelgium commented 1 year ago

Hi, I've changed your bug report in a request to remind myself, and will do it when I'll have time. It isn't at all the same container structure so I'll have to adapt code and check many things to make the switch transparent. Alas linuxserver doesn't provide a switch guide in their depreciation notice

kolossboss commented 1 year ago

Thanks a lot! I installed your latest "update" and every works great again.

I would also be happy about a migration to the new image.

Thanks for all of your work!