Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

For some reason I've recently been getting a profile error on chromium:

alt text

I can't seem to see what the problem is, is it associated with the fact that chromium thinks it hasn't been shut down properly (and even then, I can't see how else I'm supposed to shut it down, other than clicking the close button). The result is that I cannot access any of my history, bookmarks etc, something of an annoyance.

What could be causing this?

share|improve this question

4 Answers 4

up vote 2 down vote accepted

There's quite a thorough guide on a blog as to the steps you could take to troubleshoot this problem.

share|improve this answer

You could backup your /home/user/.config/chromium folder and launch Chromium. In the new autocreated folder copy the desired content of Default folder in the backup, such as Bookmarks, History, and so on.

share|improve this answer
    
This should be ~/.config/chromium –  zerwas Oct 17 '10 at 14:28
    
Oh, yes. My fault. Edited. –  Alfredo Hernández Oct 17 '10 at 14:41
1  
and doing this: chmod -R ~/.config/chromium && chmod -R ~/.cache/chromium. I couldn't believe how many people didn't realize that it wasn't chromium issue but Ubuntu itself with its own setup of user and group. –  Faron Oct 8 at 15:02

Stop cromium

cd /home/user/.config/chromium
mv Default Backup

start chromium

stop chromium

sudo cp -rapf Backup/* Default

I don't know why this works because it seems you are just moving the broken crap back into the folder but it does work.

share|improve this answer

I have solved this problem defenitively with this script :

#!/bin/bash

#
# Execute this script as root after you have installed chromium-browser package.
# This script create a new patched launcher without any modification of the original files.
#
# To remove the patched launcher created with this script :
#
# sudo rm /usr/bin/chromium-browser-patched
# sudo rm /usr/share/applications/chromium-browser-patched.desktop
#

cat > /usr/bin/chromium-browser-patched <<PATCHEND
#!/bin/bash

#
# This is a chromium-browser patched launcher script to fix the common profile connection error.
#
# By Luc Bruninx 2014-09-16 on Ubuntu 14.04
#

if [[ -d "\$HOME/.config/chromium.bak" ]]; then
  rm -fr "\$HOME/.config/chromium.bak"
fi

if [[ -d "\$HOME/.config/chromium" ]]; then
  mv "\$HOME/.config/chromium" "\$HOME/.config/chromium.bak"
  cp -r "\$HOME/.config/chromium.bak" "\$HOME/.config/chromium"
fi

\$(dirname \$0)/chromium-browser

PATCHEND

chmod a=r+w+x /usr/bin/chromium-browser-patched

cat /usr/share/applications/chromium-browser.desktop | sed "s/Exec=chromium-browser/Exec=chromium-browser-patched/g" | sed "s/Chromium-browser/XXXREPLACE01XXX/g" | sed "s/Chromium/Patched\ Chromium/g" | sed > /usr/share/applications/chromium-browser-patched.desktop "s/XXXREPLACE01XXX/Chromium-browser/g"

Execute this script as root once you have installed chromium-browser package. It create a new patched launcher icon without any modification of the original files of the chromium official package from Ubuntu.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.