Today, I broke a lot of stuff and not all was on purpose.
Updating (Breaking) Ghost
I didn't update my instance of Ghost, the CMS that I use to publish this blog, since months. I thought it was more than time to do it today. One
apt upgrade and
ghost upgrade later, the fate of my morning was decided.
I spent most of the morning fixing this very notebook/blog. It was a great source of practice. I read logs, researched resources, restored snapshots, isolated probable causes.
This morning I totally wrecked my @TryGhost instance on which my notebook, https://t.co/CsAM4jJa27, is hosted. My own fault, I did a `ghost update` before updating my ghost-cli which was obsolete. It took me hours though to figure out the source cause. XP was gained today!— Jonathan Gall ♽ (@odajay) April 24, 2018
That prepares myself to the moment when I will finally customize the front-end of this website.
Adding Error Handling (Breaking) Flask
What I did:
- Activate Debug Mode
- Custom Error Pages
- Sending Errors by Email
- Logging to a File
- Fixing duplicate bug
Element Talks & Webinar
We interviewed today for Bloc Thinking Paulina Kacprzak and Olga Rafalska who are the co-founders of Element Talks, a two-day design conference organized in Warsaw the 16th and 17th of June. I will very probably go as it will be a great way to spend time with my friend Werner, meet cool people, do some live interviews and be in a different environment.
I also joined a short webinar from David Kadavy about Creative Blocks and it was a good investment in time. I liked the way he presented his concepts and how applicable his advice were.
As I am focused into learning backend and ops, I don't practice design. Short events like this one and the podcast are helping me to stay in touch with that field and that's a good thing too.
Cool commands learned
Well, surprise, most of them are related to the Ghost installation, but not only.
Don't play with Ghost in root folks. You can't update anyway the app with the root user.
If you use the Ghost CLI like most people, it's critical to have it updated before proceeding with a
npm i -g ghost-cli
ghost runwill give you more detailed information in the running log than
To view the journal log of the last Ghost events
journalctl -u ghost_yourdomain-com -n 50
- Useful folders: default Ghost install at /var/www/ghost and default nginx conf files at /etc/nginx/
- To restart nginx
/etc/init.d/nginx restart #service nginx restart possible
- To restart a machine via an interactive terminal session, you need first to enable it
systemctl enable poweroff.target
- To know which ports your machine is listening to :
In things I wasn't expecting to discover but make total sense, an art-focused MMO would be pretty high. Thanks to Freakhill for that link 🐱!