Just another site

Month: April, 2014

ownCloud Charm Updated!

A couple days ago, Canonical announced that the Ubuntu One File and Music Services were being shut down. I was checking some of the alternatives that were presented for migrating files, and found ownCloud as one of them. I had never used it, but knew a Juju Charm was in the Charm Store. So, as I’m still enjoying the benefits of Amazon EC2’s free tier, I decided to give it a shot and see how it was.

Once the service was deployed, I checked everything was running good, but noticed the version was not the latest. I decided to go ahead and fix it, but in the road, while working with Charles Butler, I found several problems, including a broken upgrade-charm hook, and some bugs on ownCloud’s side. But everything seems to be running good now, and you should be able to do a new ownCloud deployment or upgrade your current one to the newest version without any errors!

Be aware that we are working on several other bugs for this charm, including the version lock we currently have. Make sure to report any other bugs you find on the Launchpad project, and we’ll take a look at it. Now, go and play with ownCloud!

Push notifications on ZNC?! Really?!

A couple days ago I did a post about going to school, and it in-between the lines it had the words “I’m deatached from my ZNC it has got push notifications on” hidden. One person did notice, and asked about how this feature worked and mentioned some tedious points in the process. But let’s get to it!

If you use ZNC, you should already know that ZNC supports the use of modules. Some of them are already built-in with the packaged system, but some others can be compiled manually. If you host your own ZNC, this may be of your interest.

The module for this is called ‘push’ (a bit obvious, huh?) and is hosted on Github, right here. In order to be able to compile and grab the module, first execute:

sudo apt-get install git znc-dev

Then, pull the git code, make the module and install it:

git clone
cd znc-push
znc-buildmod push.cpp
make install

And, finally, load the module on your ZNC by executing the following on your ZNC:

/msg *status loadmod push

In general, there are two services I have checked are good and work: Pushbullet (for Android) and Airgram (for iOS). Each service has some specific configuration options. In the case of Pushbullet, which I use, you need to execute the following on your ZNC:

/msg *push set service pushbullet
/msg *push set secret [secretgoeshere]
/msg *push set target [targetgoeshere]

To find this values, register on Pushbullet and login to your account. Once the device is added, click on your email address and then on ‘Account Settings’. It should explicitly give you the secret. Then, go back to your inbox and click on the device you want to send the notifications to, even if it’s already selected. Now, from the address bar, copy the ‘device_iden’ value – that should be the target. And you’re good to go!

There are many other configuration options, which can be found here. I hope this is useful for many of you who want to stick with ZNC 24/7 🙂

Taking The Next Step In Life

Goodbye March, hello April. This first three months of the year went pretty quickly, and that also means that my ‘vacation’ is over. No more going to bed at 4:30am and waking up at 11am, because now I need to go to university.

Yep, for those who didn’t know yet, I am starting university tomorrow, on April the 2nd. I was actually supposed to start classes today, but unfortunately my schedule doesn’t have any classes on Tuesday, but classes on Saturdays. That means I will be starting my A/V Production major in University of Lima tomorrow. Usually, majors in Peru take 5 years, so this is a long adventure I have ahead.

I am expecting to have some fun and hard times, homework and projects may take time from me, but still, I will not be leaving the Ubuntu community for any reason. Even though I may take some time to adapt to my new (and awful) schedule, I will make sure to try and keep up with the community as much as I can. Of course, this means I will not be available 20+ hours a day, like I was for the last couple months.

Still, if you want to contact me, make sure to email me or ping me on IRC, even if I’m deatached from my ZNC it has got push notifications on – I will be totally contactable.

I can’t wait to start this new adventure and see what’s ahead on the road.