Closed (fixed)
Project:
Barracuda
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2011 at 21:28 UTC
Updated:
29 Dec 2011 at 17:50 UTC
Jump to comment: Most recent file
Hi there,
i have just upgraded my BOA installation to 1.4S. First the update of barracuda, went smooth. Then octopus for my single user, went smooth also. No errors.
Afterwards i try to access the web panel at myuser.aegir.mydomain.com, it redirects to install.php and returns a 404 forbidden.
http://myuser.aegir.mydomain.com/install.php
403 Forbidden
Barracuda/1.0.8
I guess you need more information, please tell me what is needed and i am happy to deliver.
Kind Regards,
tne_
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | barracuda.cnf_.txt | 1.05 KB | tne_ |
| #10 | octopus.cnf_.txt | 894 bytes | tne_ |
| #8 | install.log_.txt | 5.29 KB | tne_ |
| #8 | barracuda_log.txt | 356 bytes | tne_ |
Comments
Comment #1
snlnz commentedIs the database server up and running?
check mysql service is up?
Comment #2
tne_ commentedYes, it is running. I should have mentioned that the sites of my octopus user are accessible normally. It is just the admin panel for octopus (and the master instance) not available.
settings.php from the aegir master instance look correct also. I can connect with the db user, and inside the variable table everything looks fine.
Comment #3
snlnz commentedPerhaps you could give us more details? Did you do the upgrade with debug enabled and can you post the log?
Comment #4
tne_ commentedUnfortunately i did not enable debug, and just found the option. However, i have made a snapshot before the upgrade, and will now revert back, and do the barracuda + octopus upgrade with debug enabled again.
Where will i find the log's?
Comment #5
snlnz commentedActually, if you run the upgrade with debug enabled any errors/issues will be printed to the screen so you can verify what is happening at each step.
I meant to post what ever errors come up but there is an install log that will be appended to with debug enabled.
Comment #6
tne_ commentedThanks for the info!
This is weird. After i rolled back to an earlier snapshot, changed the configs to reflect DEBUG = TRUE, it went through without errors. Just like before. However, the web panel was accessible this time. I did not change anything else.
The only thing that came up (before aswell), is that nginx could initially not be startet. It said there were unknown configuration directives.
I had to comment the following lines:
Is there a module/plugin missing for nginx?
Comment #7
omega8cc commentedPlease follow bug submission guidelines: http://drupal.org/node/add/project-issue/barracuda
Comment #8
tne_ commentedPlease find attached the two log files. If you need more info please let me know.
Comment #9
omega8cc commentedThis looks like you were hit by recent ftp.drupal.org issues. While BOA has built-in procedure to check required remote servers availability before running install or upgrade, it is still possible that d.o server will stop responding during install/upgrade and this will cause weird results, and we experienced exactly that yesterday during one of our internal tests.
Now let's see what you have got installed - please paste the results of:
nginx -Vcat /root/.barracuda.cnfcat /root/.octopus.cnfComment #10
tne_ commentedThis makes perfect sense and explains that it was working the second time around. Are there any plans to download the packages earlier in the installation/upgrade state, so that it cancels the install in a 404 case?
Here is my nginx -V
Attached you will find the two log files.
Comment #11
omega8cc commentedThanks.
You have used HEAD version for initial install and for some reason it didn't add the nginx-upload-progress-module to the Nginx build. Possibly it was some connection issue, but related to GitHub, not d.o this time. Either way, Barracuda should adapt the Nginx config on the fly as it is done in our vanilla Aegir/Provision logic already. We force enhanced Nginx config in BOA, but we should still check if upload progress have been successfully compiled in.
Unfortunately, it is not possible to pre-fetch everything before starting the install, since both Aegir itself and Octopus later are using some makefiles to build the platforms on the fly, so it will be still possible to get broken install or upgrade because some third party server is experiencing downtime - and for ftp.drupal.org it happens far too often in recent weeks.
Comment #12
omega8cc commentedChanging the subject to reflect the real issue here.
Comment #13
tne_ commentedThanks for the explanation. I dont have a solution to the problem you stated, thats indeed something out of our hands. Maybe it is time to run a (cloned) repository network (with a dns like aegir.cc) with some mirrors to try to keep packages needed for BOA available? I would be happy to donate and maintain a fast mirror in europe for BOA.
In my case, can i simply rerun the parts of the BARRACUDA installer ( 2664 if [ $_NGINX_INSTALL_REQUIRED = "YES" ] ; then .... ) and rebuild nginx manually? Will it kill my config files?
Comment #14
omega8cc commentedWe already use our mirrors for some often problematic third party libraries used to build system services, but still, we can't modify all possible makefiles on the fly or mirror entire ftp.drupal.org etc. Anyway, we will try to extend our mirroring also for other parts of the system. Thanks for the offer, but we have enough bandwidth in all our locations - in the US, EU and Asia.
And in this issue we have to re-introduce the same check we did in Provision already when we contributed Nginx support for Aegir, it is an easy stuff, just forgotten because it worked anyway.
You can simply rebuild Nginx manually using the code you can see in Barracuda, and it will just work. Or even
mv /usr/sbin/nginx /usr/sbin/nginx-oldand run Barracuda again.Comment #15
tne_ commentedGreat, thanks for the info! :)
Comment #16
omega8cc commentedThis should be fixed now: http://drupalcode.org/project/barracuda.git/commit/34c13ff