Home Blog Page 1575

Troubleshooting Ubuntu One Cloud Storage on Linux

Update: Ubuntu One will no longer be available as of June 1, 2014 and all data will be wiped July 31, 2014. Here are three alternatives to Ubuntu One.

Ubuntu One is my go-to cloud storage system. It’s a cross-platform (Linux, Mac, Android, IOS, Windows), easy to use, robust tool that anyone can use as their cloud storage. But, even the best systems can stutter or fail to work.

Take, for example, the common practice of moving the default Ubuntu One folder from the ~/ directory into a non-standard location. I have done this a number of times on systems using SSD drives (where space is limited). When you move that default location, Ubuntu One might not behave in its normal rock-solid manner.

When Ubuntu One fails, what do you do? There are two troubleshooting paths you can take: GUI or command line. Either method does a great job of solving issues with the system. Having both methods at your disposal will certainly empower you to tackle most any problem you find.

I will assume you already have an Ubuntu One account and that the necessary software for running Ubuntu One is installed on your machine.

Let’s start out with the troubleshooting methods handled by the GUI.

GUI Control

As you might expect, the GUI is not nearly as powerful as troubleshooting with the command line. But many users (especially those new to Linux) prefer not to deal with the command line. So let’s start there.

The GUI associated with Ubuntu One is called the Ubuntu One Control Panel. You can start it by opening the Unity Dash and typing “ubuntu one” (no quotes) and then click on the Ubuntu One icon (Figure 1).

ubuntu one

You can also open the tool from a terminal window by issuing the command ubuntuone-control-panel-qt. No matter how you start it, the Control Panel will open to display information about your account and personal folders (Figure 2).

ubuntu one

The first thing you want to do is make sure your machine is actually listed as a device authorized for your Ubuntu One account. Click on the Devices tab and make sure the hostname for your machine is listed (it should be listed as “This device” — Figure 3). If you do not find the machine listed, chances are you’ll need to reinstall Ubuntu One.

ubuntu one

If you find machines that you no longer use, you have to go to your Ubuntu One web page to manage those devices. From there you need to login, click on My Account, and then scroll down until you see the Devices section.

Back to the Control Panel…

One of the quickest steps you can do to give Ubuntu One a “kickstart” is click Disconnect, wait a moment, and click Connect. If you click Disconnect during a file sync, Ubuntu One will stop the sync and stop the sync daemon. Click Connect and the daemon will start and the sync will pick up where it left off.

A good indicator that you might want to run the above action is if the Ubuntu One cloud icon has disappeared from the desktop notification area (Figure 4).

ubuntu one

If you go into the Settings tab (of the Control Panel), you will find you can limit upload and download speeds as well as configure File Sync Settings. Under this section, make sure everything is checked except Automatically sync all folders shared with me to this computer.

You can enable the auto sync for sharing, if you can trust those that would be sharing with you.

One last issue to check within the Control Panel is to make sure you have Ubuntu One associated with the right account. Click on the Account information tab and make sure the Personal details and services are correct.

Command line

If you’re comfortable with the command line, you can do quite a bit more with Ubuntu One. The command to control Ubuntu One is u1sdtool. There are a number of options available to this command. The ones you should know are: 

  • –current-transfers (list the current uploads and downloads)

  • –quit (shut down the Ubuntu One system)

  • –start (start the Ubuntu One system)

  • –connect (connect the syncdaemon)

  • –disconnect (disconnect the syncdaemon)

  • –status (list the current status of the syncdaemon)

  • –wait (complete the current synchronization between client and cloud)

  • –waiting (list the waiting content and metadata to be syncd)

For example, you find there are files or folders in your Ubuntu One account that have not syncd with your desktop. The first step is to find out if any metadata or content is waiting to be syncd. To do this, follow these steps:

  1. Open up a terminal window (in Ubuntu Unity you can hit Ctrl-Alt-t or type “terminal” within the Dash)

  2. Type u1sdtool –waiting

  3. If you see anything listed, continue

  4. Type u1sdtool –w

  5. Wait until you see “ubuntuone-syncdaemon became a fully enlightened Buddha!” in the terminal window

  6. Check to see if the files and folders have appeared.

If you do not see any metadata or content listed (after issuing u1sdtool -waiting), you should do the following (all from the terminal window):

  1. Disconnect from the syncdaemon (u1sdtool –disconnect)

  2. Shut down the syncdaemon (u1sdtool –quit)

  3. Restart the syncdaemon (u1sdtool –start)

  4. Reconnect to the syncdaemon (u1sdtool –connect).

Once you’ve issued the above commands, go back and run the u1sdtool –waiting command to see if your metadata and content are now listed. You can then issue the u1sdtool –w command to complete the sync.

If you still find problems with syncing, a sort of brute-force method is to rebuild the Ubuntu One configuration file. Here are the steps:

  1. From the terminal window, issue the command u1sdtool –quit

  2. Issue the command rm -rf ~/.config/ubuntuone

  3. Start the Ubuntu One Control Panel and allow the sync to start and finish.

Ubuntu One gives you 5 GB of free storage that you should take advantage of. It’s a powerful cloud service that you can easily troubleshoot with either a GUI or command line tools. Have you found a situation with Ubuntu One that cannot be resolved with the above steps? If so, share your experience with your fellow Linux.com readers so we can help resolve that problem.

 

Opening up Enterprise Back-End Systems: The Beat Goes On

A new breed of ‘systems of engagement’ threatens to swamp existing ‘systems of record.’

Docker Begins Straddling Free and Paid Services

Here at OStatic, we’re big fans of Docker, and we’ve been following recent developments surrounding it, including Red Hat starting to offer certification for Docker apps. As Docker matures, it is taking a page from the world of open source projects that have given birth to commercial arms of those projects, and making some features available only to paid customers. A blog post introduces Private Repositories on Docker.io and a fee structure for them.

If you use the free tier for repositories you’ll experience no change, but the Docker blog post notes the following about Private Repositories:

 

Read more at Ostatic

Musl libc 1.0.0 Released

Version 1.0.0 of the “musl” C library implementation has been announced. Musl is aimed at small size and high efficiency; it is distributed under the MIT license. See this pagefor an introduction to the project.

Read more at LWN

Full-Disclosure Security Mailing List Shuts Down

Once on the cutting edge of vulnerability disclosure, Full-Disclosure has become too unpleasant to read or moderate.

7 Favorite Raspberry Pi Projects

Raspberry Pi

Having recently co-authored a book about building things with the Raspberry Pi (Raspberry Pi Hacks), I’ve spent a lot of the last couple of years talking about this credit-card-sized Linux computer and seeing fun things people have used it for.

Originally designed for education, the Raspberry Pi was inspired by 1981’s BBC Micro, also created for education. But when it was released, what makers saw was a very small computer, perfect for putting in all kinds of projects due to the abilities it has crammed into such a small space. Here are a few of my favorites:

read more

Read more at OpenSource.com

Huawei Backtracks on Dual-Booting Windows Phone and Android Plans

Huawei revealed last week that the company was planning to bring a dual-booting Windows Phone and Android handset to the US this spring, but it appears plans for such a device have been canceled. In a statement provided to FierceWireless, a Huawei spokesperson says “at this stage there are no plans to launch a dual-OS smartphone in the near future.”

The backtracking contradicts statements from Huawei’s chief marketing officer, Shao Yang, last week. Yang claimed the firm was following a “dual OS” strategy with Android and Windows Phone on a single handset. It’s not clear if such a handset was ever in development, or whether Yang simply misspoke. Huawei’s change of heart follows reports that Microsoft and Google have both scuppered…

Continue reading…

Read more at The Verge

Linux Worm Darlloz Targets Intel Architecture to Mine Digital Currency

A new variant of the Darlloz worm focuses on manipulating home systems to mine for digital currency beyond Bitcoin.

Blender 2.70 Enhances Its UI, Cycles Rendering

Out today is another big update to the open-source Blender 3D animation software…

Read more at Phoronix

Intel 3.0 X.Org Driver Lands Yet More Changes

While there have been pre-releases of the xf86-video-intel 3.0 X.Org driver going back to last September, it’s still not ready to be released, but a new feature update was made available…

Read more at Phoronix