This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leo@lw-mc-01:~$ curl -XGET 'http://localhost:9200/_cluster/health?pretty=true' | |
{ | |
"cluster_name" : "bm", | |
"status" : "yellow", | |
"timed_out" : false, | |
"number_of_nodes" : 3, | |
"number_of_data_nodes" : 3, | |
"active_primary_shards" : 5, | |
"active_shards" : 7, | |
"relocating_shards" : 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/bin/metacpan-api-carton-exec bin/metacpan mapping --delete | |
~/bin/metacpan-api-carton-exec ./bin/metacpan backup --restore /home/leo/data/2016-04-21-user.json.gz | |
~/bin/metacpan-api-carton-exec ./bin/metacpan backup --restore /home/leo/data/2016-04-21-cpan-favorite.json.gz | |
~/bin/metacpan-api-carton-exec ./bin/metacpan backup --restore /home/leo/data/2016-04-21-cpan-author.json.gz | |
~/bin/metacpan-api-carton-exec bin/metacpan queue --dir /home/metacpan/CPAN/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: | |
/var/log/starman/metacpan-api | |
tail -1000 minion_queue-error.log | grep unini | sort | uniq -c | |
39 Use of uninitialized value in join or string at lib/MetaCPAN/Document/File.pm line 929. | |
1 Use of uninitialized value in string eq at lib/MetaCPAN/Document/File.pm | |
608 Use of uninitialized value in string eq at lib/MetaCPAN/Document/File.pm line 908. | |
106 Use of uninitialized value in string eq at lib/MetaCPAN/Document/File.pm line 912. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
05:25:01 PM CPU %user %nice %system %iowait %steal %idle | |
05:35:01 PM all 16.51 0.00 1.02 0.09 0.00 82.38 | |
05:45:01 PM all 48.09 0.00 2.97 1.93 0.00 47.01 | |
05:55:01 PM all 76.12 0.00 3.87 1.26 0.00 18.75 | |
06:05:01 PM all 78.11 0.00 4.18 0.41 0.00 17.30 | |
06:15:01 PM all 78.57 0.00 4.40 0.25 0.00 16.78 | |
06:25:01 PM all 78.25 0.00 4.25 0.41 0.00 17.10 | |
06:35:01 PM all 77.49 0.00 4.27 0.42 0.00 17.83 | |
06:45:01 PM all 78.27 0.00 4.39 0.35 0.00 16.99 | |
06:55:01 PM all 77.15 0.00 3.95 0.78 0.00 18.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metacpan@lw-mc-01:~/metacpan-api$ ~/bin/metacpan-api-carton-exec ./bin/metacpan mapping | |
2016/03/30 19:43:36 I mapping: Putting mapping to ElasticSearch server | |
[Request] ** [http://127.0.0.1:9200]-[400] [mapper_parsing_exception] Mapping definition for [_timestamp] has unsupported parameters: [store : 1], called from sub Search::Elasticsearch::Transport::perform_request at /home/metacpan/carton/metacpan-api/lib/perl5/ElasticSearchX/Model/Role.pm line 51. With vars: {'request' => {'ignore' => [],'qs' => {},'body' => {'session' => {'_timestamp' => {'store' => 1,'enabled' => 1},'properties' => {},'dynamic' => \0}},'serialize' => 'std','mime_type' => 'application/json','path' => '/user/session/_mapping','method' => 'PUT'},'status_code' => 400,'body' => {'error' => {'type' => 'mapper_parsing_exception','root_cause' => [{'type' => 'mapper_parsing_exception','reason' => 'Mapping definition for [_timestamp] has unsupported parameters: [store : 1]'}],'reason' => 'Mapping definition for [_timestamp] has unsupported p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://ftp.uk.debian.org/debian wheezy main | |
deb-src http://ftp.uk.debian.org/debian wheezy main | |
deb http://security.debian.org/ wheezy/updates main | |
deb-src http://security.debian.org/ wheezy/updates main | |
deb http://ftp.uk.debian.org/debian wheezy-updates main | |
deb-src http://ftp.uk.debian.org/debian wheezy-updates main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I suggest we delete: | |
https://github.com/CPAN-API/cpan-api/wiki/Expenses | |
https://github.com/CPAN-API/cpan-api/wiki/Booking-Server | |
https://github.com/CPAN-API/cpan-api/wiki/Sponsors | |
https://github.com/CPAN-API/cpan-api/wiki/Installing-ElasticSearch (ES's own docs should be enough)! | |
https://github.com/CPAN-API/cpan-api/wiki/Tagging - think we have issues for this now? | |
https://github.com/CPAN-API/cpan-api/wiki/VHost-Setup | |
Not so sure: | |
https://github.com/CPAN-API/cpan-api/wiki/How-to-upload-author-meta-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attribute (resources) does not pass the type constraint because: Validation failed for 'MetaCPAN::Types::Internal::Resources' with value { bugtracker: { web: "http://github.com/szabgab/Time-Warp" }, repository: { type: "git", url: "http://github.com/szabgab/Time-Warp.git", web: "http://github.com/szabgab/Time-Warp", x_license: "http://dev.perl.org/licenses/" } } at reader MetaCPAN::Document::Release::resources (defined at /home/metacpan/carton/metacpan-api/lib/perl5/x86_64-linux/Moose/Exporter.pm line 409) line 14. | |
MetaCPAN::Document::Release::resources('MetaCPAN::Document::Release=HASH(0x84a0e98)') called at /home/metacpan/metacpan-api/bin/../lib/MetaCPAN/Script/Tickets.pm line 113 | |
MetaCPAN::Script::Tickets::retrieve_github_bugs('MetaCPAN::Script::Tickets=HASH(0x51fb2b8)') called at /home/metacpan/metacpan-api/bin/../lib/MetaCPAN/Script/Tickets.pm line 80 | |
MetaCPAN::Script::Tickets::run('MetaCPAN::Script::Tickets=HASH(0x51fb2b8)') called at /home/metacpan/carton/metacpan-api/lib/perl5/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://nginx.org/en/docs/http/request_processing.html | |
# nginx first searches for the most specific prefix | |
# location given by literal strings regardless of the | |
# listed order. In the configuration above the only prefix | |
# location is “/” and since it matches any request it will | |
# be used as a last resort. Then nginx checks locations | |
# given by regular expression in the order listed in the | |
# configuration file. The first matching expression stops | |
# the search and nginx will use this location. If no regular |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Defaults | |
perl::version: '5.16.2' | |
# Where we mirror cpan with the rrrclient | |
# also where cpan.metacpan.org serves from | |
metacpan::cpan_mirror: '/mnt/lv-cpan' | |
# We don't want watcher enabled |