bin/host restart does not start no-daemon services.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Aug 31 2019
daemon behaviors
Aug 30 2019
Provisioning was once close-ish to automated. Is this close enough to automate?
I think this leaves us with:
Adjacent is the older instances.queryinstances API method. This is still used by service synchronization.
It is also used to cache InstancesManageCapability::CAPABILITY but this can easily just be cached in the request cache instead.
The "Instance" almanac service type can be destroyed.
Aug 29 2019
Can we get rid of the instance-specific services completely now, after changes connected to T11413?
Mostly-promising answers on much of the rest of this:
I'm hoping this is a reasonable excuse to find a way forward [on >2GB downloads] here.
Is the 2GB HTTP stuff in T12907 realistic to fix?
Aug 26 2019
Aug 24 2019
Aug 23 2019
The "Merchant" profile screen is now somewhat inconsistent with the "Account" profile screen, and uses different icons for "Subscriptions" and "Orders".
Aug 22 2019
We're also using inconsistent icons for "Order/Invoice/Receipt/Cart" in different interfaces. I'm going to standardize on this lovely purse, I think:
Aug 17 2019
Aug 16 2019
Stuff to fix with subscriptions:
if this is really an issue we could likely throw a rate limit on the action
This is sort-of-quasi-intentional
Aug 15 2019
It would also be nice to figure out Phortune permissions better here since this is a good opportunity to vet everything.
Aug 12 2019
There was one issue with this: bin/host stop --instance X (which is rarely used, and has no prior automated callers) used --force, which stops all daemons on the host. The recent changes to the --force flag in D20601 also had an indirect impact here. I fixed this and redeployed the repo tier.
Aug 11 2019
Aug 7 2019
you can add libreoffice/soffice to your list. last time we had to do sth like this we used soffice --headless --convert-to pdf
not really better than running a browser though... in our use case we needed to use merchant uploaded doc/docx templates in combination with our data. so even less options.
but yeah most options around pdf generation are clunky.
Yeah, I'm really hoping to not require us to run an entire browser or depend on an external service to generate PDFs. The approaches I found in my research were:
Just my two cents here, but chrome has an headless mode that allows to "print to pdf" : https://developers.google.com/web/updates/2017/04/headless-chrome
Aug 5 2019
When I apt-get install wkhtmltopdf (or something like that) on aux001, which is Ubuntu 14, I get this:
Aug 4 2019
I've worked with wkhtmltopdf several times, and I don't remember it actually requiring any special setup - in all cases, I basically dropped the binary in the machine (Although it's possible all my machines had X11 built in for some reason? I've never intentionally installed X11).
Aug 2 2019
Just some observations after popping open PDF invoices which have shown up in my inbox recently:
See PHI1367, which featured a specific case where git repack unambiguously did something good instead of being magic fairy dust that we sprinkle around to ward off demons.
This is also more "while I'm here", but there's no web UI way to void an invoice right now. It would be nice to have a "Void Invoice" button for staff instead of requiring database fiddling, since this comes up occasionally.
Aug 1 2019
$info_object = new PhabricatorPDFInfoObject();
PDF files appear to consist of a series of objects that (mostly) look like this:
Jul 30 2019
Jul 24 2019
Adjusting log_warnings = 2 in production (to get connection aborts into the error log) is also possibly desirable, although the background level of connection abortions (general network flakiness, server restarts during deploy, wait_timeout on very long-running demons?) may be high enough that this is more noise than signal.
Jul 23 2019
We could also consider these things:
So actual actionable stuff here is:
Jul 22 2019
Bumping max_allowed_packet to 1G in the server config resolved things. The export process then spent a long time doing a bin/files migration (which could use a progress bar, maybe) and is now doing a dump (which could too, although I'm less sure of how we'd build one).