Giter Club home page Giter Club logo

samlidp's People

Contributors

dependabot[bot] avatar ioparaskev avatar sitya avatar szabogyula avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

samlidp's Issues

docker build failed with bytes out of the expected range.

Hello,
I'm trying to deploy samlidp.
The samli/nren image's build failed with the following error:

kiki@hero:~/samlidp$ sudo docker build -t samli/nren .
Sending build context to Docker daemon 6.577MB
.......
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies
[Composer\Downloader\TransportException]
Content-Length mismatch, received 577487 bytes out of the expected 1929588

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...

The command '/bin/sh -c cd /app && php -d memory_limit=-1 /usr/bin/composer install --no-autoloader --no-interaction --no-scripts --no-dev' returned a non-zero code: 1

What is wrong?

Thank you.

rsyslog error message on startup

@sitya I have merged my eduroam and SSHA512 changes into my fork (https://github.com/ubuntunet/samlidp/tree/eduid-africa) of this repository. When I try to start the container, I get the following error message:

samli_1  |
samli_1  |  [OK] Nothing to update - your database is already in sync with the current
samli_1  |       entity metadata.
samli_1  |
samli_1  | Main domain (eduid.me) has already been in the database.
samli_1  | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
samli_1  | rsyslogd: activation of module imklog.so failed [v8.40.0 try https://www.rsyslog.com/e/2145 ]
samli_1  | *** WARNING : deprecated key derivation used.
samli_1  | Using -iter or -pbkdf2 would be better.
samli_1  | bad decrypt
samli_1  | 140445984471912:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:570:

Any idea what the issue could be?

Image building failed after step4

Hello,
The building of the image failed at step5. The error is :
The command '/bin/sh -c cd /app && php -d memory_limit=-1 /usr/bin/composer install --no-autoloader --no-interaction --no-scripts --no-dev' returned a non-zero code: 1
We've then run the a container from the stage 4's image and attempt to run the failing command :
kiki@hero:~/projects/samlidp$ sudo docker container run -it 257086c538a8 /bin/sh
/var/www/html # cd /app && php -d memory_limit=-1 /usr/bin/composer install --n
o-autoloader --no-interaction --no-scripts --no-dev

This results in :
[Composer\Downloader\TransportException]
The "http://repo.packagist.org/p/symfony/polyfill-ctype%24ccbd9028ca296ad2e
06033cc2a61cb6e11507e6fcefc743135df4e99776b54f6.json" file could not be dow
nloaded: php_network_getaddresses: getaddrinfo failed: Try again
failed to open stream: php_network_getaddresses: getaddrinfo failed: Try ag
ain

We will appreciate any workaround?

Thank you.

samlidp-start.sh handles neither signals nor zombie processes

The startup script samlidp-start.sh defined as CMD in the Dockerfile starts several processes (I spotted rsyslogd and nginx) but neither propagates signals to them nor handles eventual zombie processes these may create. The solution to this is to use a lightweight init program as PID 1 in your container to start other processes.

See Docker - init, zombies - why does it matter? and Docker and the PID 1 zombie reaping problem for a detailed explanation of the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.