Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just tried to install drubuntu with the command from the module page:
wget 'http://drupalcode.org/viewvc/drupal/contributions/modules/drubuntu/drubuntu-bootstrap.sh?view=co' -Odrubuntu-bootstrap.sh ; cat drubuntu-bootstrap.sh ; read -n1 -p "Run above script? (y/n)" ; if [ "$REPLY" = "y" ]; then bash drubuntu-bootstrap.sh; fi
but it can't find the file and gives a 404. It worked before the Drupal.org migration to git, so I am inclined to believe it has got something to do with that, but I may be mistaken. So under which address do I find the files?
Comment | File | Size | Author |
---|---|---|---|
#6 | cvs-links-broken-1074908-1.patch | 2.25 KB | daven |
Comments
Comment #1
Narretz CreditAttribution: Narretz commented(we still can't edit start posts? Dayum shame)
Ok, with help from marvil07 from the IRC, I figured out the path to the files, e.g.
http://drupalcode.org/project/drubuntu.git/HEAD:6.x-10.10-beta1:drubuntu...
it actually downloads something when executed in the terminal, and then installs at least drush, but in the end I get errors, because the script is unable to checkout the stuff for drubuntu from cvs.drupal.org (not a surprise, in hindsight).
So I guess the script / bootstrap needs updating for the git migration: pull drush from the git repositories, and use the git package handler.
Another edit: I guess we have to wait until drush updates. The master already has the new git integration.
Comment #2
zertad CreditAttribution: zertad commentedSame problem here.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedSame problem here too.
Comment #4
Narretz CreditAttribution: Narretz commentedI think we still need a title that says a little more about the subject ;)
Comment #5
Narretz CreditAttribution: Narretz commentedSorry, another clarification. Changed Component to Code.
Comment #6
daven CreditAttribution: daven commentedI created this patch and it looks like it works for me. Let me know if this works for you
Dave
Comment #7
krayz CreditAttribution: krayz commentedpatch in #6 works for me
Comment #8
Narretz CreditAttribution: Narretz commentedPatch looks good. I think I changed some lines so Drush uses the package handler for git. I will check later; but if it works without, it's probably not that important.
Comment #9
elrayle CreditAttribution: elrayle commentedI am new to Drupal (3 months), new to Ubuntu (2 days), new to Drush (0 days), new to GIT (0 days). This leaves me confused as to how to use the information in the comments. I am very glad to hear the patch works. Can anyone give me basic instructions I can follow to use the patch?
Comment #10
Narretz CreditAttribution: Narretz commentedYou could either follow these instructions in applying the patch:
http://drupal.org/node/620014
or just take a look at the files mentioned in the patch, and delete the lines with -- in front, and add those with a ++ in front.
Comment #11
lrosete CreditAttribution: lrosete commentedManually applying the patch worked for me. Thanks!
So after the setup, I can:
1. Open up Eclipse.
2. Open up the sandbox
But I'm stuck at having 2 errors during the sandbox install like below:
1.File system
The directory sites/sandbox.drupal.localhost/files is not writable.
2. Settings file The settings file is not writable.
The Drupal installer requires write permissions to ./sites/sandbox.drupal.localhost/settings.php
Any suggestions how I do this from here?
Or any other recommendations on how to make maximum use of this development platform?
Thanks in advance.
Comment #12
Narretz CreditAttribution: Narretz commentedHm, did you create the settings file and the files folder by yourself? As far as I remember, this was done automagically by drush in the install process.
Permissions is basically a Linux issue, so you gonna find your answers in this direction:
http://drupal.org/node/244924
Comment #13
elrayle CreditAttribution: elrayle commentedThanks for the info. It was very helpful. I made the changes manually. The script ran with some warnings and a few errors, but they didn't seem to interfer with everything working. I didn't have time to look at them to see what was the source of the problem. I certainly wouldn't rule out user error. But I am a happy customer just the same.
Comment #14
jdleonardworks as expected
Comment #15
Bodger CreditAttribution: Bodger commentedThe version listed here is 6.x, I am trying to setup 7.x and getting the same issues. Is there a patch for Drupal 7?
Thanx
Bodger
Comment #16
stkrzysiak CreditAttribution: stkrzysiak commentedStill an issue, #1's link is now an 500 internal server error. Until this gets updated to the proper cut & paste command, just download http://drupalcode.org/project/drubuntu.git/blob_plain/refs/heads/master:... then chmod the script to be executable, I just do 777, and then execute ./drubuntu-bootstrap.sh
EDIT: It appears the script checks out drush from cvs, which fails, probably due to the switch. Been awhile since I've used drubuntu, Owen, raising my hand to help if your looking for ppl.
Comment #17
AlanAtLarge CreditAttribution: AlanAtLarge commentedFollowing
Comment #18
mlncn CreditAttribution: mlncn commentedWithout an update to reflect the Git migration across the board, Drubuntu installation is broken. Marking critical.
Comment #19
tsi CreditAttribution: tsi commentedsub
Comment #20
daven CreditAttribution: daven commentedI set up a sandbox copy of drubuntu so that i could test things out. Today I wanted Drubuntu for setting things up on a new Ubuntu 11.04 install. I successfully ran the drubuntu script with the following command:
This is a replacement for the command in the project description, using git url instead of csv. Currently it points to my sandbox copy, but the drubuntu-bootstrap.sh actually downloads the real drubuntu anyway, not the sandbox.
As I mentioned, this successfully ran drubuntu, however there were various errors which I didn't pay attention to, probably related to the fact that it not all Ubuntu 11.04 ready. It met my goals anyway. ymmv.
Comment #21
mlncn CreditAttribution: mlncn commentedHave a sandbox clone with an attempt to update/focus Drubuntu on Drupal 7. Not all working yet. Most significantly, syntax error in drubuntu when i try to restart Apache to get the x.localhost addresses working for ~/workspace/x
http://drupal.org/sandbox/mlncn/1293018 - all changes are in branch drupal-7
http://drupalcode.org/sandbox/mlncn/1293018.git/shortlog/refs/heads/drup...
Comment #22
sheldonkreger CreditAttribution: sheldonkreger commentedGreetings, and thanks for the tutorial. I'm getting an error during the bootstrap process despite having applied the patch above.It happens just after the Firefox plug in installation, during a Drush process. I get a handful of error messages, and then it appears that the script bails out as if everything is OK:
Any help is appreciated!
Comment #23
Nieuwbee CreditAttribution: Nieuwbee commented# 6 worked for me.... I do not fully understand what is happening, but the installation procedure now runs. - Thanks.
Comment #24
Nieuwbee CreditAttribution: Nieuwbee commentedWell it appeared to work. It took close to 2 hours to install and it ended up in the same spot as Sheldon reported above.
Error: Call to undefined function drush_invoke_process_args() in ~/workspace/drubuntu/devtools/general.inc, line 46.
That line reads as "drush_invoke_process_args('pm-download', $projects, array('destination' => $destination));
Ending with "Drubuntu bootstrap complete!.
After doing a bit of reading, it appears as if the line should read "drush_invoke_process("@self",'pm-download', $projects, array('destination' => $destination));
but whenever you execute the drubuntu-bootstrap, the file general.inc is downloaded anew. So you cannot just simply replace the line of code.
if you have the same problems: try the Acquia development tool. It worked very well for me.
Comment #25
Nieuwbee CreditAttribution: Nieuwbee commentedIt was version 7.x-10.10-beta1;
Comment #26
drupaljohngo CreditAttribution: drupaljohngo commentedI did a clean install of ubuntu 10.10 on my machine. I'm unsure about patching so I edited the cvs
patch with all the + and - things. The install ran well. I created a drag & drag gksudo to copy the drubuntu-bootstratp.sh
to the root directory and gave the file 777 permissions. ran it with
the bash command with no errors unit it asked for the full installation.
several database errors and warnings of doom appeared.
what is the drush command to install drubuntu? is is drush drubuntu install? I tried that and it
did something on one occasion and then nothing. drush is installed in the home/myusername/workspace/
drubuntu is patiently waiting. do i edit the .bashrc with the correct path and copy it to the home directory? because there is no .profile file. I tired this before and got into can of worms.
Also, do I need to install unzip drupal 7 in a specific directory? Doesn't make sense to if the server isn't installed and configured yet. I assume drubuntu is like Quickstart VB.
Comment #27
sheldonkreger CreditAttribution: sheldonkreger commented@drupaljohngo
I ran into similar problems a few months ago. In the end, I up using XAMPP instead of Drubuntu - the installation is much easier (10 minutes, no error messages). You won't get all the IDE software or Drush, but at least you will get LAMPP stack set up, which seems to be the tricky part.