Must fix the following problems:
Fix non working links:
Visiting http://oddb-ci2.dyndns.org/de/gcc/search/search_query/novartis/search_type/st_company/page/4 produced the following backtrace
172.25.1.75 - - [04/Jul/2017:08:05:31 +0200] "GET /de/gcc/ajax_swissmedic_cat/reg/54275/seq/05/pack/145 HTTP/1.1" 200 1497 0.0142 ODBA::Stub was unable to replace #701884 from ODDB::Package:#229295 ODBA::Stub was unable to replace #701884 from ODDB::Package:#229295 NoMethodError: undefined method `introduction_date' for nil:NilClass /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/odba-1.1.2/lib/odba/stub.rb:112:in `method_missing' /var/www/oddb.org.rack/src/view/ajax/swissmedic_cat.rb:41:in `reorganize_components' /var/www/oddb.org.rack/src/view/ajax/swissmedic_cat.rb:27:in `init' /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/htmlgrid-1.1.4/lib/htmlgrid/component.rb:139:in `initialize' /home/niklaus/git/sbsm/lib/sbsm/state.rb:240:in `new' /home/niklaus/git/sbsm/lib/sbsm/state.rb:240:in `view' /home/niklaus/git/sbsm/lib/sbsm/state.rb:173:in `to_html' /home/niklaus/git/sbsm/lib/sbsm/session.rb:530:in `to_html' /home/niklaus/git/sbsm/lib/sbsm/session.rb:276:in `block in process_rack' /home/niklaus/git/sbsm/lib/sbsm/session.rb:234:in `synchronize' /home/niklaus/git/sbsm/lib/sbsm/session.rb:234:in `process_rack' /home/niklaus/git/sbsm/lib/sbsm/app.rb:128:in `call'
Placing a pry debug showed
[1] pry(#<ODDB::View::Ajax::SwissmedicCat>)> sl.respond_to?(:introduction_date) ODBA::Stub was unable to replace #701884 from ODDB::Package:#229295 [10] pry(#<ODDB::View::Ajax::SwissmedicCat>)> puts " @model.sl_entry #{ @model.sl_entry.inspect} #{@model.iksnr}/#{@model.seqnr}/#{@model.ikscd}" @model.sl_entry #<ODBA::Stub:70196201557880#701884 @odba_class=NilClass @odba_container=70196201582900#229295> 54275/05/153
bin/admin on thinpower with the old ruby responds with
ch.oddb> registration('54275').sequence('05').package('153').sl_entry.class -> NilClass
This is fixed with commit Avoid error when ODBA::Stub was unable to replace. Looks like ruby 2.4.0 reacts a bit different when it encounters the error ODBA::Stub was unable to replace
Looking at how ch.oddb.org reacts when trying to pay a download link via paypal. In the log I find
og/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:39:21 +0200] "GET /de/gcc/rss/channel/fachinfo.rss HTTP/1.1" 200 1942077 "-" "Akregator/5.2.3; syndication" log/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:48:18 +0200] "GET /de/gcc/home/ HTTP/1.1" 200 20200 "http://ch.oddb.org/de/gcc/search/search_query/novartis/search_type/st_company/page/5" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36" log/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:48:31 +0200] "GET /de/gcc/search/zone/drugs/search_query/desitin/search_type/st_company? HTTP/1.1" 200 145161 "http://ch.oddb.org/de/gcc/home/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36" log/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:48:39 +0200] "POST /de/gcc HTTP/1.1" 200 386373 "http://ch.oddb.org/de/gcc/search/zone/drugs/search_query/desitin/search_type/st_company?" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36" log/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:48:59 +0200] "GET /de/gcc/export_csv/zone/drugs/search_query/desitin/search_type/st_company HTTP/1.1" 200 8973 "http://ch.oddb.org/de/gcc" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36" log/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:49:07 +0200] "POST /de/gcc HTTP/1.1" 200 12911 "http://ch.oddb.org/de/gcc/export_csv/zone/drugs/search_query/desitin/search_type/st_company" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36" log/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:49:07 +0200] "GET /resources/javascript/autofill.js HTTP/1.1" 200 484 "http://ch.oddb.org/de/gcc" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36" log/oddb/access_log:80.218.53.88 - - [04/Jul/2017:08:49:28 +0200] "POST /de/gcc HTTP/1.1" 302 - "http://ch.oddb.org/de/gcc" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.40 Safari/537.36"
Looks like redirecting works completely different here. The problem was, that the values contained in the SBSM cookie were not correctly escaped when passing it to the javascript. This was easily fixed an a unit test for it added in SBSM. Commit is Unescape cookie values before giving them back
Running manually the paypal test, showed that we needed another fix Correct handling nil/empty values in cookie But still getting the error
[2017-07-04 09:50:10] ERROR URI::InvalidURIError: URI must be ascii only "https://www.paypal.com/cgi-bin/webscr?business=zdavatz@ywesee.com&item_name=desitin.Zulassungsinhaber.csv&item_number=35933859&invoice=35933859&custom=ch.oddb.org&amount=3.78&no_shipping=1&no_note=1¤cy_code=EUR&return=http://oddb-ci2.dyndns.org/de/gcc/paypal_return/invoice/35933859&cancel_return=http://oddb-ci2.dyndns.org/de/gcc&image_url=https://www.generika.cc/images/oddb_paypal.jpg&email=ngiger@ywesee.com&first_name=C\u00E9cile&last_name=M\u00FCller&address1=&city=&zip=&redirect_cmd=_xclick&cmd=_ext-enter" /usr/local/ruby-2.4.0/lib/ruby/2.4.0/uri/rfc3986_parser.rb:21:in `split' /usr/local/ruby-2.4.0/lib/ruby/2.4.0/uri/rfc3986_parser.rb:73:in `parse' /usr/local/ruby-2.4.0/lib/ruby/2.4.0/uri/rfc3986_parser.rb:117:in `convert_to_uri' /usr/local/ruby-2.4.0/lib/ruby/2.4.0/uri/generic.rb:1099:in `merge' /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/httpresponse.rb:277:in `setup_header' /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/handler/webrick.rb:16:in `setup_header' /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/httpresponse.rb:207:in `send_response' /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/httpserver.rb:112:in `run' /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
Pushed commits
I think now the paypal tests fail, because oddb-ci2 cannot be reached from paypal.
Now I need a new SBSM version. Pushed commit Bumped version to 1.5.0 and Used SBSM Version 1.5.0
Running watir smoketest. Still having some failures
Finished in 6 minutes 42 seconds (files took 1.55 seconds to load) 33 examples, 5 failures, 1 pending Failed examples: rspec ./spec/smoketest_spec.rb:84 # ch.oddb.org should display the correct color iscador U rspec ./spec/smoketest_spec.rb:107 # ch.oddb.org should display a limitation link for Sevikar rspec ./spec/smoketest_spec.rb:354 # ch.oddb.org should download the results of a search rspec ./spec/smoketest_spec.rb:397 # ch.oddb.org should display the correct calculation for Bicalutamid Actavis rspec ./spec/smoketest_spec.rb[1:31] # ch.oddb.org should have a working instant search for Augmentin and takeskosten
augmentin 1 g (875%2F125)
failed. But it works find when testing manually. But this tests fails on the old rack based version, too, was probable the ()
confuse the search engine.
Changed my router. Now http://oddb-ci2.dyndns.org/ can be reached from outside. Running all specs still shows 40 failures. Paypal still does not work. Using httpfox on ch.oddb.org to see what should happen.
Http fox has
(Request-Zeile) POST /de/gcc HTTP/1.1 Host ch.oddb.org User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language de-CH,en-US;q=0.7,en;q=0.3 Accept-Encoding gzip, deflate Referer http://ch.oddb.org/de/gcc/export_csv/zone/drugs/search_query/Desitin/search_type/st_company Cookie __utma=69243458.1492321151.1496340195.1499159088.1499166694.20; __utmz=69243458.1496340195.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ["oddb-preferences=remember_me%3Dtrue%3Bemail%3Dinfo%40desitin.ch%3Blanguage%3Dde%3Bresultview%3Dpages%3Bremember%3D1621e8a5d02a69c3cdb0a8207fe9d0b8336c961690889dad1abad97e39bd2df6%3Bstyle%3Dblue%3Bsearch_type%3Dst_oddb%3Bsearch_form%3Dplus%3Bzsr_id%3D; oddb-preferences=remember_me%3Dtrue%3Bemail%3Dinfo%40desitin.ch%3Blanguage%3Dde%3Bresultview%3Dpages%3Bremember%3D3690337525628efb974d485c56f1021c953b62567d392def98d9da63ca68fc57%3Bstyle%3Dblue%3Bsearch_type%3Dst_oddb%3Bsearch_form%3Dplus%3Bzsr_id%3D; _session_id=d3539c380eb17dc4ea43c9e9f18a45ce; __utmc=69243458; __utmb=69243458.5.10.1499166695; __utmt=1 Content-Type application/x-www-form-urlencoded Content-Length 260 Cookies __utma 69243458.1492321151.1496340195.1499159088.1499166694.20 / .ch.oddb.org 4.7.2019, 13:12:34 __utmz 69243458.1496340195.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) / .ch.oddb.org 3.1.2018, 00:12:34 ["oddb-preferences remember_me%3Dtrue%3Bemail%3Dinfo%40desitin.ch%3Blanguage%3Dde%3Bresultview%3Dpages%3Bremember%3D1621e8a5d02a69c3cdb0a8207fe9d0b8336c961690889dad1abad97e39bd2df6%3Bstyle%3Dblue%3Bsearch_type%3Dst_oddb%3Bsearch_form%3Dplus%3Bzsr_id%3D / ch.oddb.org 2.7.2027, 12:00:25 oddb-preferences remember_me%3Dtrue%3Bemail%3Dinfo%40desitin.ch%3Blanguage%3Dde%3Bresultview%3Dpages%3Bremember%3D3690337525628efb974d485c56f1021c953b62567d392def98d9da63ca68fc57%3Bstyle%3Dblue%3Bsearch_type%3Dst_oddb%3Bsearch_form%3Dplus%3Bzsr_id%3D / ch.oddb.org 2.7.2027, 13:12:22 _session_id d3539c380eb17dc4ea43c9e9f18a45ce / ch.oddb.org End Of Session __utmc 69243458 / .ch.oddb.org End Of Session __utmb 69243458.5.10.1499166695 / .ch.oddb.org 4.7.2017, 13:42:34 __utmt 1 / .ch.oddb.org 4.7.2017, 13:21:34 POST Data salutation salutation_f name_last Müller name_first Cécile checkout_paypal Bezahlen via PayPal flavor gcc language de event checkout state_id 70354873241020 pointer :!create,:!invoice.. zone drugs search_query Desitin search_type st_company Then the paypal GET 17:59:56.475 1.365 1208 (0) GET (Cache) text/html https://www.paypal.com/webapps/hermes?token=6LR72001HM5037347&useraction=commit&mfid=1499166786407_365c7f03ad9b7 with cookies ectoken EC-33385930DN555672J / www.paypal.com 1.1.10000, 00:59:59 cookie_check yes / .paypal.com 16.5.2027, 07:56:51 ts vreXpYrS%3D1592266503%26vteXpYrS%3D1497597526%26vr%3D0fd49fd215c0a0eb31d78d92fe534e00%26vt%3Dafa9208815c0a4a115e33133fdcec832 / .paypal.com 16.6.2020, 02:15:03 KHcl0EuY7AKSMgfvHl7J5E7hPtK EzLzo0AJmgk0nGMYb1-xiPasW4WxF4cu1qfT00Zfw1-VWR7GHU8S0eU-qxL2esPyVWBdCe08xPQphoOT / .paypal.com 16.6.2037, 08:48:42 login_email niklaus.giger%40hispeed.ch / .paypal.com 13.12.2017, 07:48:42 X-PP-ADS AToBSn9DWc9a5VWrwcwxD5Q2Q3fNEJE / .paypal.com 16.6.2018, 08:48:42 X-PP-K 1497595709:5:NA / .paypal.com 16.7.2017, 08:48:29 tsrce xorouternodeweb / .paypal.com 5.7.2017, 13:13:06 nsid s%3AH-4AO9tCOCboELR3HJWrlC5EV-QeJ9BC.jJ9C6IcQZIYjKLFaxPSrwin8Od6dy2HubNns6B3kceE / www.paypal.com End Of Session X-PP-SILOVER name%3DLIVE6.WEB.1%26silo_version%3D880%26app%3Dxorouternodeweb%26TIME%3D1115183961%26HTTP_X_PP_AZ_LOCATOR%3Dslcb.slc / .paypal.com 4.7.2017, 13:43:06 AKDC slc-b-origin-www-1.paypal.com / www.paypal.com 4.7.2017, 13:43:07 akavpau_ppsd 1499167387~id=840074f264dc71b08653161cea2e09d0 / www.paypal.com End Of Session and Query-String token 6LR72001HM5037347 useraction commit mfid 1499166786407_365c7f03ad9b7 And Headers (Request-Zeile) GET /webapps/hermes?token=6LR72001HM5037347&useraction=commit&mfid=1499166786407_365c7f03ad9b7 HTTP/1.1 Host www.paypal.com User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language de-CH,en-US;q=0.7,en;q=0.3 Accept-Encoding gzip, deflate, br Referer http://ch.oddb.org/de/gcc/export_csv/zone/drugs/search_query/Desitin/search_type/st_company Cookie ectoken=EC-33385930DN555672J; cookie_check=yes; ts=vreXpYrS%3D1592266503%26vteXpYrS%3D1497597526%26vr%3D0fd49fd215c0a0eb31d78d92fe534e00%26vt%3Dafa9208815c0a4a115e33133fdcec832; KHcl0EuY7AKSMgfvHl7J5E7hPtK=EzLzo0AJmgk0nGMYb1-xiPasW4WxF4cu1qfT00Zfw1-VWR7GHU8S0eU-qxL2esPyVWBdCe08xPQphoOT; login_email=niklaus.giger%40hispeed.ch; X-PP-ADS=AToBSn9DWc9a5VWrwcwxD5Q2Q3fNEJE; X-PP-K=1497595709:5:NA; tsrce=xorouternodeweb; nsid=s%3AH-4AO9tCOCboELR3HJWrlC5EV-QeJ9BC.jJ9C6IcQZIYjKLFaxPSrwin8Od6dy2HubNns6B3kceE; X-PP-SILOVER=name%3DLIVE6.WEB.1%26silo_version%3D880%26app%3Dxorouternodeweb%26TIME%3D1115183961%26HTTP_X_PP_AZ_LOCATOR%3Dslcb.slc; AKDC=slc-b-origin-www-1.paypal.com; akavpau_ppsd=1499167387~id=840074f264dc71b08653161cea2e09d0
When logging in as desiting via Firefox I get the following callbac
TypeError: no implicit conversion of true into String /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.0/lib/sbsm/session.rb:446:in `escape' /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.0/lib/sbsm/session.rb:446:in `block in cookie_pairs' /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.0/lib/sbsm/session.rb:446:in `each' /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.0/lib/sbsm/session.rb:446:in `collect' /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.0/lib/sbsm/session.rb:446:in `cookie_pairs' /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.0/lib/sbsm/app.rb:152:in `call'
Looks like that mod_ruby returned a HTML status of 302 (redirect) automatically when the http_header field "Location" was set. Mimicked this behaviour by adding response.status = 302 if response.headers['Location']
in the call method of lib/sbsm/app.rb.
Now I get a little bit further, but after a long wait for the login of the paypal sandbox. It looks that I entered an eternal loop in
/var/www/oddb.org.rack/src/state/global.rb:306:in `checkout' /var/www/oddb.org.rack/src/state/global.rb:306:in `checkout' /var/www/oddb.org.rack/src/state/global.rb:306:in `checkout' /var/www/oddb.org.rack/src/state/global.rb:306:in `checkout' /var/www/oddb.org.rack/src/state/global.rb:306:in `checkout' /var/www/oddb.org.rack/src/state/global.rb:306:in `checkout' /home/niklaus/git/sbsm/lib/sbsm/state.rb:198:in `_trigger' /var/www/oddb.org.rack/src/state/global.rb:1039:in `_trigger' /home/niklaus/git/sbsm/lib/sbsm/state.rb:187:in `trigger' /home/niklaus/git/sbsm/lib/sbsm/viralstate.rb:38:in `trigger' /home/niklaus/git/sbsm/lib/sbsm/session.rb:254:in `block in process_rack' /home/niklaus/git/sbsm/lib/sbsm/session.rb:234:in `synchronize' /home/niklaus/git/sbsm/lib/sbsm/session.rb:234:in `process_rack' /home/niklaus/git/sbsm/lib/sbsm/app.rb:128:in `call'
Placing a pry debug statement there. Running the manual test was okay. Trying to run the watir paypal test. This fails, because Paypol reorgnized its input and moved a lot to javascript, which requires quite some reorganization of the watir tests.
Marked the paypal watir tests as skipped with commit Skip paypal tests as watir cannot any longer recognise the fields
Pushed commit Return 302 if http_headers contain 'Location' and release SBSM 1.5.1
On thinpower updated /var/www/oddb.org.rack. Creating new services ch.oddb-just-medical (-p 8312) and ch.oddb-evidentia (-p 8412).
Started them on thinpower. Looks like the page http://ch.oddb.org/resources/downloads/status reports the status for 3 rack process (oddb.org.rack/just-medical and evidentia). I think we should correct it. I see two variants:
If we use the first alternative I would use instead of process identifier like Oddb (OddbApp:Crawler)
an id directly derived from the APPNAME, eg. Oddb-crawler
and also name like resources/downloads/status_evidentia
Found the following error in ch.oddb.rack/log/main/current
@40000000595ba5f033115764 comparables: Got error comparison of ODBA::Stub with ODBA::Stub failed barcode 7680615630019 Provokations-Test Mesocricetus auratus, Pulver und Lösungsmittel, nasal oder bronchial @40000000595ba652091ce89c explain_colors {[0, 0]=>:explain_original, [0, 1]=>:explain_generic, [0, 2]=>"explain_unknown"} @40000000595ba6fd0a0e7c5c Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8 @40000000595ba6fd0a0e842c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/htmlgrid-1.1.4/lib/htmlgrid/template.rb:112:in `block in template_html' @40000000595ba6fd0a0e8814 /usr/local/ruby-2.4.0/lib/ruby/2.4.0/cgi/html.rb:55:in `nO_element' @40000000595ba6fd0a0e8814 /usr/local/ruby-2.4.0/lib/ruby/2.4.0/cgi/html.rb:62:in `nO_element_def' @40000000595ba6fd0a0e8bfc /usr/local/ruby-2.4.0/lib/ruby/2.4.0/cgi/html.rb:423:in `html' @40000000595ba6fd0a0ed24c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/htmlgrid-1.1.4/lib/htmlgrid/template.rb:109:in `template_html' @40000000595ba6fd0a0ed24c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/htmlgrid-1.1.4/lib/htmlgrid/template.rb:122:in `to_html' @40000000595ba6fd0a0ed634 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.1/lib/sbsm/state.rb:174:in `to_html' @40000000595ba6fd0a0ed634 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.1/lib/sbsm/session.rb:530:in `to_html' @40000000595ba6fd0a0ee1ec /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.1/lib/sbsm/session.rb:276:in `block in process_rack' @40000000595ba6fd0a0ee1ec /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.1/lib/sbsm/session.rb:234:in `synchronize' @40000000595ba6fd0a0ee5d4 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.1/lib/sbsm/session.rb:234:in `process_rack' @40000000595ba6fd0a0ef95c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/sbsm-1.5.1/lib/sbsm/app.rb:127:in `call' @40000000595ba6fd0a0efd44 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/lint.rb:49:in `_call' @40000000595ba6fd0a0efd44 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/lint.rb:37:in `call' @40000000595ba6fd0a0f012c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/show_exceptions.rb:23:in `call' @40000000595ba6fd0a0f08fc /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/content_length.rb:15:in `call' @40000000595ba6fd0a0f08fc /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/static.rb:149:in `call' @40000000595ba6fd0a0f08fc /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/common_logger.rb:33:in `call' @40000000595ba6fd0a0f0ce4 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/tempfile_reaper.rb:15:in `call' @40000000595ba6fd0a0f14b4 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/lint.rb:49:in `_call' @40000000595ba6fd0a0f14b4 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/lint.rb:37:in `call' @40000000595ba6fd0a0f189c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/show_exceptions.rb:23:in `call' @40000000595ba6fd0a0f2c24 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/chunked.rb:54:in `call' @40000000595ba6fd0a0f300c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/content_length.rb:15:in `call' @40000000595ba6fd0a0f300c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/handler/webrick.rb:86:in `service' @40000000595ba6fd0a0f33f4 /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service' @40000000595ba6fd0a0f3bc4 /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run' @40000000595ba6fd0a0f3bc4 /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
Also found a restart with the following text
40000000595ba8b61a75f6c4 :!registration,36030!sequence,03!package,011.: Collu-Blache, Rachenspray Could not convert 0.6 mg/ml/ml @40000000595ba8b61d7b0904 :!registration,36030!sequence,03!package,011.: Collu-Blache, Rachenspray Could not convert 0.5 mg/ml/ml @40000000595ba8f811d08624 user 11 threads, footprint of 7229MB, 12366 sessions. Exiting as exceeds 7168MB @40000000595ba8f811d7295c [2017-07-04 16:40:46] FATAL SystemExit: SystemExit @40000000595ba8f811d72d44 /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:171:in `select' @40000000595ba8f811d72d44 /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:171:in `block in start' @40000000595ba8f811d7312c /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:33:in `start' @40000000595ba8f811d7312c /usr/local/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:158:in `start' @40000000595ba8f811d73514 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/handler/webrick.rb:34:in `run' @40000000595ba8f811d744b4 /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/server.rb:297:in `start' @40000000595ba8f811d7489c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/lib/rack/server.rb:148:in `start' @40000000595ba8f811d7489c /var/www/oddb.org.rack/vendor/ruby/2.4.0/gems/rack-2.0.3/bin/rackup:4:in `<top (required)>' @40000000595ba8f811d74c84 /var/www/oddb.org.rack/vendor/ruby/2.4.0/bin/rackup:22:in `load' @40000000595ba8f811d7e0f4 /var/www/oddb.org.rack/vendor/ruby/2.4.0/bin/rackup:22:in `<main>' @40000000595ba8f811d8d70c [2017-07-04 16:40:46] INFO going to shutdown ... @40000000595ba8f81735c3cc [2017-07-04 16:40:46] INFO WEBrick::HTTPServer#start done.
Logging in fails if rememberme is set. Fixed with commits
Deployed it on thinpower. Will analyse tomorrow the log files to see, whether we have successfully moved all Bot access to the corresponding Rack processes.