nubisproject / nubis-dpaste Goto Github PK
View Code? Open in Web Editor NEWnubis deployment of dpaste
License: Mozilla Public License 2.0
nubis deployment of dpaste
License: Mozilla Public License 2.0
Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.0.4 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.0.1 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.4.2 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.3.1 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.2.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.0.3 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.4.1 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.3.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.1.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.2.3 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.
When booting an ami if confd is not up when the migrate.sh script is triggered the database tables never get created. This leads to the site being unable to store the pastebins.
Tag a release of the nubis-dpaste repository for the v1.4.0 release of the Nubis project.
Some of these changes a required to make v2.1.0 to work
Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.4.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.2.2 release of the Nubis project.
Not sure what is causing, but I've just seen 2 different dpaste instances
come up with this problem, apache isn't running on them.
Looking at /var/log/apache/error_log shows me:
[Mon Aug 31 05:04:36.813982 2015] [mpm_worker:notice] [pid 9524:tid 140161872398208] AH00295: caught SIGTERM, shutting down
[Thu Sep 03 02:49:38.519883 2015] [mpm_worker:notice] [pid 2034:tid 140498801653632] AH00292: Apache/2.4.7 (Ubuntu) mod_wsgi/3.4 Python/2.7.6 configured -- resuming normal operations
[Thu Sep 03 02:49:38.520392 2015] [core:notice] [pid 2034:tid 140498801653632] AH00094: Command line: '/usr/sbin/apache2'
[Thu Sep 03 02:49:41.005092 2015] [mpm_worker:notice] [pid 2034:tid 140498801653632] AH00297: SIGUSR1 received. Doing graceful restart
[Thu Sep 03 02:49:41.334528 2015] [core:notice] [pid 2034] AH00060: seg fault or similar nasty error detected in the parent process
Core dump isnt' very helpful
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fc868867bf0 in ?? ()
(gdb) bt
#0 0x00007fc868867bf0 in ?? ()
#1 <signal handler called>
#2 0x00007fc86c26cd83 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:81
#3 0x00007fc86c783c45 in apr_sleep () from /usr/lib/x86_64-linux-gnu/libapr-1.so.0
#4 0x00007fc86c777d7e in ?? () from /usr/lib/x86_64-linux-gnu/libapr-1.so.0
#5 0x00007fc86c778c70 in apr_pool_clear () from /usr/lib/x86_64-linux-gnu/libapr-1.so.0
#6 0x00007fc86d04febb in main ()
Feels to me like the apachectl graceful in confd might be the culprit
Other theory, the migrate script doesn't restart apache when it's done and it was already running, maybe
dpaste doesn't like it's settings changing from under it
So it would seem to me that mod_wsgi experiences something not fun and crashes
Oh, and from all this, I also notice we use the worker MPM by default instead of the much safer/simpler
prefork MPM
Tag a release of the nubis-dpaste repository for the v2.4.0 release of the Nubis project.
There is no reason to keep them around in the old way
Tag a release of the nubis-dpaste repository for the v1.5.0 release of the Nubis project.
import '/var/installer/ref.pp'
import '/var/installer/ports.pp'
Tag a release of the nubis-dpaste repository for the v2.2.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.1.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.0.2 release of the Nubis project.
Terraform worker module supports this now, so we should expose
Tag a release of the nubis-dpaste repository for the v1.2.1 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.1.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.5.1 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.3.1 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v1.4.2 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.0.1 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.0.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.
Tag a release of the nubis-dpaste repository for the v2.3.0 release of the Nubis project.
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.