Page 2 of 11

If npm install Gets Killed On Your Ghost Installation

When you perform an upgrade of your Ghost installation, you might run into a little issue towards the end of the upgrade process, specifically when you run this command:

npm install --production

This step might end abruptly with no explanation whatsoever on what is going on. On my machine, this is what happened:

root@hostname:/var/www/ghost# npm install --production
extract → gunzTarPerm ▌ ╢██████████████████████████████████░░░░░░░░░░░░░░░╟
Killed
root@hostname:/var/www/ghost# npm install --production
cloneCurrentTree → attemp ▀ ╢████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
Killed

As you can see, even attempting to run the command again didn’t help. After a little bit of digging around, I found out that this is a RAM issue.

Continue reading

Fixing “502 Whoops, GitLab is taking too much time to respond”

After booting my GitLab VM, I saw this error message when I tried to access its web interface:

502 Whoops, GitLab is taking too much time to respond

Continue reading

How To Check What BIND DNS Version You Are Running

Even though the service name when you run a BIND DNS server is bind9, this will only work with start, stop, restart and similar commands.

If you want to check what version of BIND DNS you are currently running on your Linux server, you need to use this:

/usr/sbin/named -v

Nylas N1 Becomes Nylas Mail And Introduces A Free Basic Plan

I admit, I am a fan of Nylas, I think it’s one of the nicest looking email apps out there (if not the nicest looking one) and I admire the intent to simplify handling emails by abstracting all the differences between the various email protocols, so I am keeping an eye on the project’s development.

Most importantly, I love the option to self-host their sync engine as I like having things under my control. Email servers are something I have never wanted to deal with myself however, due to the very high complexity of managing such a thing, but with the sync engine it’s different. Emails are still handled by your email provider, but your sync engine is hosted by you locally, which in my mind gives me the best of both worlds.

Continue reading

What Are bridge And epair Interfaces In FreeNAS?

I was taking a look at the network configuration of one of my FreeNAS machines, and I noticed a few network interfaces that I did not immediately recognize, something I am sure I had not created manually myself. These interfaces are named bridge0, epair0a and epair1a.

Continue reading

How To Build The Nylas N1 Email Client On Windows 10

After my post which explained how to build the Nylas N1 email client on macOS, here is the second post in the series which focuses on Windows 10 instead.

I had no shortage of issues and error messages trying to build N1 on Windows (and I wasn’t the only one, as the issues I opened in GitHub were often reproduced by others as well), but they all happened because I was trying to use an unsupported version of Visual Studio (2015 Community Edition, in my case) so here is all you need to do to be able to successfully build Nylas N1 on Windows 10.

Continue reading

How To Fix “sudo: unable to resolve host hostname” In Raspbian

If you are running Raspbian on your Raspberry Pi, you might see a message like the following when you try to sudo after changing your devices’s hostname:

sudo: unable to resolve host hostname

Of course, replace “hostname” with your own machine’s hostname. Everything works just fine even despite this warning, it’s just annoying to look at. Luckily, the fix is very simple.

It is likely that you only changed the hostname in one of two locations, while you should change it in both of these files in order to get rid of this message:

  • /etc/hostname
  • /etc/hosts

That’s it!

Dealing With Double NAT

I agree that I am not the typical home Internet user, so this complaint does not apply to 99% of ISP customers, but man, the remaining 1% should speak up. I absolutely hate when an ISP does not allow you to put their modem/router combo in bridge mode. Not that it’s something you cannot deal with anyway, but it’s annoying. And it’s not only a home vs business connection thing, in certain cases you are not allowed to put it in bridge mode ever.

Of course, this only applies to you if you want to use your own router instead of the one provided by your ISP, but I suspect this is becoming more common nowadays. Well, I actually suspect that most users decide to go for another modem/router combo, rather than a router alone, even when they are not happy with the ISP equipment, but still. Oh anyway, rant over, let’s move on to discussing how to deal with the biggest annoyance introduced by this: double NAT.

Continue reading

My Projects For 2017

What better way to start 2017 with a post on my future projects? There are several things I would like to try in the next 12 months, some that I have been meaning to try for a long time, others that made the list only recently. Of course, like every year, this list will change a million times and I will add and remove several entries as I go along, but for now, these are some of the things I want to spend some time playing with in 2017.

Continue reading

This VM needs storage that cannot be seen from that server – XenServer

You might encounter this error message in XenServer when launching a VM:

This VM needs storage that cannot be seen from that server

I am not sure why the guys over at Citrix decided to refer to the host you are trying to launch the VM on as “that server”, but this error message simply means that your host cannot access the SR this VM is stored on. This usually means that the SR go detached for some reason, and it is very likely that the SR is going to show up as unplugged in XenCenter, and trying to repair it from the XenCenter client would return another error message, typically something like this:

Error parameters: , Logical Volume mount/activate error

The first result in Google if you try to look for the error message in the title of the post brings you to a post on the Citrix Discussion website recommending to eject any disc from the DVD drive of the VM, but in my case there was no disc inserted, so this wasn’t helpful. What worked for me was removing the SR and adding it back to XenServer. I then restored my VM metadata so that all the drives could be attached to the correct VMs once again.

Continue reading

© 2017 Daniel's TechBlog

Theme by Anders NorénUp ↑

%d bloggers like this: