The backend exposes it's .git/config
, including a gitlab-ci-token
. I guess, this is probably not intentional?
Thanks!
Can you please release a new version of this image with the latest version of mat2? Thanks!
When stopping the container and starting it again the daemon will fail. docker logs
produces the following errors:
[uWSGI] getting INI configuration from /etc/uwsgi/apps-enabled/mat2-web.ini
*** Starting uWSGI 2.0.18-debian (64bit) on [Fri Nov 26 12:02:53 2021] ***
compiled with version: 8.2.0 on 10 February 2019 02:42:46
os: Linux-5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30)
nodename: docker1
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /var/www/mat2-web
detected binary path: /usr/bin/uwsgi-core
chdir() to /var/www/mat2-web/
your processes number limit is 31701
your memory page size is 4096 bytes
*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
bind(): Permission denied [core/socket.c line 230]
This does not happen, when creating the container for the first time or with other containers on the same machine.
A successful creation looks like this:
[uWSGI] getting INI configuration from /etc/uwsgi/apps-enabled/mat2-web.ini
*** Starting uWSGI 2.0.18-debian (64bit) on [Fri Nov 26 12:28:40 2021] ***
compiled with version: 8.2.0 on 10 February 2019 02:42:46
os: Linux-5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30)
nodename: docker1
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /var/www/mat2-web
detected binary path: /usr/bin/uwsgi-core
chdir() to /var/www/mat2-web/
your processes number limit is 31701
your memory page size is 4096 bytes
*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /run/uwsgi/uwsgi.sock fd 3
Python version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x555997e8c020
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145840 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x555997e8c020 pid: 13 (default app)
mountpoint already configured. skip.
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 13)
spawned uWSGI worker 1 (pid: 16, cores: 1)
When stopping the container and starting it again the daemon will fail. docker logs
produces the following errors:
[uWSGI] getting INI configuration from /etc/uwsgi/apps-enabled/mat2-web.ini
*** Starting uWSGI 2.0.18-debian (64bit) on [Fri Nov 26 12:02:53 2021] ***
compiled with version: 8.2.0 on 10 February 2019 02:42:46
os: Linux-5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30)
nodename: docker1
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /var/www/mat2-web
detected binary path: /usr/bin/uwsgi-core
chdir() to /var/www/mat2-web/
your processes number limit is 31701
your memory page size is 4096 bytes
*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
bind(): Permission denied [core/socket.c line 230]
This does not happen, when creating the container for the first time or with other containers on the same machine.
A successful creation looks like this:
[uWSGI] getting INI configuration from /etc/uwsgi/apps-enabled/mat2-web.ini
*** Starting uWSGI 2.0.18-debian (64bit) on [Fri Nov 26 12:28:40 2021] ***
compiled with version: 8.2.0 on 10 February 2019 02:42:46
os: Linux-5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30)
nodename: docker1
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /var/www/mat2-web
detected binary path: /usr/bin/uwsgi-core
chdir() to /var/www/mat2-web/
your processes number limit is 31701
your memory page size is 4096 bytes
*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to UNIX address /run/uwsgi/uwsgi.sock fd 3
Python version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x555997e8c020
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145840 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x555997e8c020 pid: 13 (default app)
mountpoint already configured. skip.
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 13)
spawned uWSGI worker 1 (pid: 16, cores: 1)
I think you should just verify that the docker run arguments are correct. There is contradictory information in the beginning and the end.
Personally, I don't mind removing it. Better than having it non-working.
When I click the camera symbol, my browser is asking for both video and audio permissions. If I don't agree to audio, I can't take pictures. It would be great if it were possible to select just the one I need.
Up- and download of normal files works just fine. But the upload of the camera doesn't resolve in pictures to download. You can check yourself at https://metadata2.systemli.org/
I'm running the latest version:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
986e9c4957d5 registry.0xacab.org/jfriedli/mat2-quasar-frontend:master "/docker-entrypoint.…" 7 seconds ago Up 6 seconds 80/tcp, 0.0.0.0:3002->8080/tcp mat-web-frontend
9bee48320d84 registry.0xacab.org/jvoisin/mat2-web:v0.7.0 "sh -c 'nginx; uwsgi…" 17 seconds ago Up 16 seconds 0.0.0.0:3001->8080/tcp mat2
$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
registry.0xacab.org/jfriedli/mat2-quasar-frontend master 734f8a106339 15 hours ago 28.3MB
registry.0xacab.org/jvoisin/mat2-web v0.7.0 922452dde914 4 months ago 507MB
I get the response {"message": "Unable to clean image/gif"}
.
Thanks for this cool frontend. But I had a hard time getting this to run today, as some of the upper part of the readme is outdated. Can you please update the readme and tag a new release? Thanks.