sitya / samlidp Goto Github PK
View Code? Open in Web Editor NEWSAML Identity Provider as a Service
License: GNU General Public License v3.0
SAML Identity Provider as a Service
License: GNU General Public License v3.0
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.
@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?
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_RUNNING_MODE
seems to be required, but it is missing from docker-compose.yml
. I guess, it should be there.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.