Skip to content

Monthly Archives: March 2017

How to Install OnlyOffice Document Server For Nextcloud, Fast & Easy

I’ve wasted a ridiculous amount of time trying to get the Collabora / LibreOffice / CODE platform integrated with my Nextcloud 11 server.  I wanted to have Google Docs-style editing, but it was turning out to be a massive headache.  One day, on accident, I stumbled on an OnlyOffice plugin for OwnCloud.  After a little digging, I found out it worked with NextCloud as well.  Less than 15 minutes later, I had the OnlyOffice Document Server packages installed on a second Ubuntu 16.04 server and it was fully integrated with my NextCloud server.

 

What You Need

 

For this guide, you will ultimately need the following:

  • A 2nd Ubuntu 16.04 or 16.10 Server
  • A Valid SSL Certificate (A FREE LetsEncrypt Certificate Will Do)
  • A Valid DNS Entry for Both Servers (for this guide, you are required to use onlyoffice.yourdomain.tld, custom OnlyOffice domains are out of the scope of this guide)

 

Installing Dependencies

 

OnlyOffice requires a few dependencies.  Mainly, nodejs, postgresql, and nginx.  In addition, we’ll need to enable a repo for up-to-date ttf-mscorefonts-installer packages.

 

First, let’s go ahead and add the needed repo’s.

 

echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" | sudo tee -a /etc/apt/sources.list
curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -

 

Next, install postgresql.

Click Here to Keep Reading!

Bluetooth Mouse Disconnects on Ubuntu 16.04 with Intel 7260

I came across a very aggravating problem recently on my Dell XPS 13 L321X laptop.  In the past I had used various Linux distributions on this laptop and they worked flawlessly with my Microsoft Arch Mouse.  The Arch mouse is one of just a few very newer mice that use Bluetooth LE, and I suspect that had something to do with this issue.

 

Symptoms

After installing Ubuntu 16.04, as well as Ubuntu 16.10, everything would be fine, except for the fact that my Arch mouse would simply stop working after an intermittent amount of time.  At times, it would work for a few minutes, sometimes as long as 15 minutes.  But, eventually it would just stop responding.  Powering the mouse off and on did not change the behavior, and after this happened, I would be unable to turn Bluetooth off and back on again.  The Bluetooth manager would stop responding.  It would not work again until a full reboot.

 

The Solution

After trying various firmware versions for the Intel 7260 wireless combo card, and at least 4 different Linux Kernels (3.18, 4.08, 4.10, and 4.11) I found the problem appeared to be related to the TLP package.  The TLP package provides advanced power management and battery savings for laptops running Linux.

Ultimately, for the time being, the fix is to disable the power management features TLP applies to to the Intel 7260 wireless card.  Do do this, first obtain the device ID of the wireless bluetooth combo card using lsusb.

Here is what it looks like on my laptop:

Click Here to Keep Reading!