I have tried to run the upgrade on my site by following the upgrade document and it goes almost all the way through but fails due to MariaDB issues (see attached image). I do not know how to get passed this, it renders my entire server non functional as far and Drupal goes and the only thing I can do is to roll back my server to previous date before I attempt the upgrade.

I have attached the log file from my last run, I would appreciate help as soon as possible.

Sincerely,
Chris

Comments

omega8cc’s picture

Please read the logs you have posted and you will see why it failed - don't use unreliable mirrors (like mirror.ox.ac.uk), use default (or empty, to force default): _LOCAL_UBUNTU_MIRROR=archive.ubuntu.com

cwittusen’s picture

StatusFileSize
new23.16 KB

I do not know how to change that, I am assuming that when I download the latest barracuda file that it has good mirrors. Where do I change this? I have included an image as attachment that shows what is currently configured in BARRACUDE.sh.txt and it is an empty string, should I change that?

Thank you for your help.

/Chris

omega8cc’s picture

No, it is configured in your /root/.barracuda.cnf file and it is good idea to use current defaults or leave it empty.

cwittusen’s picture

StatusFileSize
new88.61 KB

I modified the Barracuda.sh.txt file and added the mirror you referred to and re-ran it but I got the same error, I have included the log file. Any help would be greatly appreciated.

/Chris

cwittusen’s picture

I just saw this message after my modification, I will do what you said and try again.

Thank you.

cwittusen’s picture

StatusFileSize
new32.42 KB

I configured barracuda.cnf file and added the archive.ubuntu.com, re-ran the upgrade-stable and it still failed with the MariaDB (see log file)

I hope you can figure out what the issue is, I'm willing to let you into the box if needed.

Regards,
Chris

cwittusen’s picture

Any chance I could get some help?

/Chris

snlnz’s picture

Can you post the contents (via pastebin) of /root/.barracuda.cnf please.

cwittusen’s picture

StatusFileSize
new1.48 KB

I have attached the barracuda.cnf file for your review. I removed my email address to protect it from people using it for spam.

/Chris

snlnz’s picture

Can you enable debug and post the install log?

cwittusen’s picture

Can you tell me how to do that?

/Chris

cwittusen’s picture

StatusFileSize
new30.84 KB

I think I figured it out, I have attached the latest log file for your review.

/Chris

snlnz’s picture

Something looks wrong with your apt sources.
Have you altered these manually?

Your probably best to backup your .barracuda.cnf file and then delete the existing one.
I suggest downloading this file:
http://drupalcode.org/project/barracuda.git/blob/HEAD:/BARRACUDA.sh.txt

edit your email and add the appropriate services you need like CHV, CSF, enable debug and leave everything else.
then run the upgrade like this:
bash BARRACUDA.sh.txt

Do the same for Octopus, obviously adding the platforms you use if any.
http://drupalcode.org/project/barracuda.git/blob/HEAD:/OCTOPUS.sh.txt

and provide the install logs for both so we can see what's happening.

cwittusen’s picture

I only modified the .barracuda.cnf to modify the debug part but nothing else. I will try what you are suggesting but every time I ran bash BARRACUDA.sh.txt it tells me to run the upgrade instead.

/Chris

cwittusen’s picture

StatusFileSize
new79.87 KB

I did what you asked me to do, I downloaded the new BARRACUDA.sh.txt and OCTOPUS.sh.txt and I ran them and I got the same error about MariaDB (see log). I tried to run OCTOPUS.sh.txt and got the following message:

hosting:~# bash OCTOPUS.sh.txt
Octopus [Thu Jun 6 02:01:05 UTC 2013] ==> ALRT: MariaDB server not running properly!
Octopus [Thu Jun 6 02:01:05 UTC 2013] ==> EXIT: We can't proceed and will exit now
Octopus [Thu Jun 6 02:01:05 UTC 2013] ==> HINT: Please (re)start MariaDB server and then run installer again
Octopus [Thu Jun 6 02:01:05 UTC 2013] ==> Bye

Any help in getting this working would be greatly appreciated.

/Chris

omega8cc’s picture

Priority: Major » Normal
Status: Active » Closed (cannot reproduce)

You should use wrappers scripts, as explained in docs/INSTALL.txt and docs/UPGRADE.txt and never BARRACUDA.sh.txt and OCTOPUS.sh.txt directly, unless you know what are you doing.

There are no hints in the attached verbose log - other that it looks incomplete - I don't see any reason why it would end on the lshell install step.

cwittusen’s picture

Omega8cc:
Ok, but I was told to use the bash BARRACUDE.sh.txt and it has always worked in the past so why am I now being asked to use something else. Apparently I must have missed that in the upgrade doc since it clearly states use bash BARRACUDA.sh.txt. I'll do a quick re-read and see what I can find out.

Would you be open to get access to the server and run it anyway you need it to in order to get the right log files since I seem to be instructed to do one thing and that doesn't provide the right values or is not executed right and it just seem like I'm not getting anywhere with this.

Regards,
Chris

cwittusen’s picture

StatusFileSize
new69.16 KB

I re-read the install/upgrade doc and I saw that I should use barracuda up-stable for upgrade. I ran that and enclosed is the log file which I believe will provide no more information than the previous log files. The same error about MariaDB is still what stops this from being successful.

omega8cc’s picture

Component: Other Services » Miscellaneous
Status: Closed (cannot reproduce) » Active

Try to force database server re-install by adding _SQL_FORCE_REINSTALL=YES to /root/.barracuda.cnf and then run barracuda up-stable system. If this will not help, add _FULL_FORCE_REINSTALL=YES and run barracuda up-stable system again.

cwittusen’s picture

Omega
Can I just pay you $150 to fix this so I can move on?

/Chris

omega8cc’s picture

I encourage you to follow the hints provided so far. If it doesn't work, then we can't guarantee that we will be able to help, even if you will purchase commercial support, because generally we support instances we have installed. We have no idea what could be screwed up there and why, and if it is possible to fix within 1 or more hours, so I'm not sure if this is something I could recommend.

cwittusen’s picture

Ok, I will try it with your latest instructions.

/Chris

omega8cc’s picture

Status: Active » Closed (cannot reproduce)
cwittusen’s picture

Just wanted to let you know that the latest instructions with FORCE worked. Should I leave it there for my next update?

Thank you for all of your help.

Regards,
Chris