Mattermost (5.35.1) on Debian | image proxy problem

If your links don’t show proper images check the following: System console: Allow public links System console: Image proxy on and set to local vim /opt/mattermost/config/config.json >> “AllowUntrustedInternalConnections”:”localhost 127.0.0.1 mattermost.mydomain.mytld 192.168.0.0/24″ System console: SiteURL >> Set no port or :443 at the end, do it like https://mattermost.mydomain.mytld or https://mattermost.mydomain.mytld:443 Avoid default port 8065 like https://mattermost.mydomain.mytld:8065 […]

kvm | qemu | qcow2 dynamic/sparse disk allocation problem | shrink sparse qcow2 disks howto

In some recent qemu versions there is a problem while creating sparse disks using the virt-manager. Normally the qcow2 format always allocates space dynamically (sparse), but some qemu versions fail at this, they create disks with full expected size. Solution: Create your disks manually: Shrinking existing images: # mv disk.qcow2 disk.qcow2.orig # qemu-img convert -O […]

DOCKER| ENTRYPOINT vs. CMD

O.K…. Lets start. ;) Variables passed as arguments to the container using -e will be part of containers environment. ENTRYPOINT script will be executed using this environment. Any CMD will be passed as an argument to the running ENTRYPOINT script. If there is no ENTRYPOINT defined, CMD will be executed instead. In other words: ENTRYPOINT […]