Posted by larkydoo on November 26, 2012 at 3:36pm
Hello, All,
I've been trying to move a drupal site onto one of the U's shared servers and have run into some problems. I wonder if anyone out there has done this and might be able to give me some pointers. Here's a summary of what I've been able (and unable) to do:
- I was, after much trial and error, able to get a drupal site operating at cfans.instepp.oit.umn.edu/instepptest. I am running into a number of issues, however, including:
a. I seem to be unable to use FTP from the linux command line or from within drupal. Do you know if these sites are locked out from being able to initiate an ftp session from the server? This creates the following issues:
i. I cannot upload an image to an article.
ii. drupal is unable to check for updates.
iii. I can't install modules from the drupal interface.
iv. I can't get drush to work because "Drush needs a copy of the PEAR Console_Table library in order to function, and the attempt to download this file automatically failed."
v. I'm sure there are others I haven't run into yet.
b. Since I installed my project as swadm, all the files/directories are owned by swadm. When I use sftp to transfer files, then go in under owner dicki074 and I am unable to use chown to change that. Not sure what issues may be created by this. - I was actually able to get an older version of the site running at cfans.instepp.oit.umn.edu/drupal-7.14, but it is plagued with the same issues.
I'm not finding any guidance on this either on the U's wiki or elsewhere on the web to help me with this. If you could provide assistance here, I would very much appreciate it. Depending on what it'll take, we should be able to pay for someone's time.
Thanks much!
Laurie Dickinson
connect@oconnect.com
Comments
A couple thoughts
Laurie,
I don't know if I can address all your concerns in this post, but here are a couple pointers:
1) By default, FTP is not enabled for these servers - you'd have to set up and configure that service yourself (though I'd go with sftp for security reasons).
2) The first thing I do when logging in to my OIT-hosted virtual servers is to switch to a full sesson as the swadm user ($ su - swadm).
3) For getting files on to the server, I enable remote login on my local machine, then scp from the server side (swadm@virtualserver$ scp gormsby@<desktop.hostname>:~/working/files /swadm/srv/sites/destination). This gets around the "double hop" we have to deal with going from local to the gateway server and then to the virtual server.
4) But switching to a session as swadm, you can get around the ownership issue and move files directly into their target locations. I think that will also allow you to change ownership to your web files to an appropriate accounts (e.g. www-data or apache).
5) I have managed to get drush working, but forget the details.
We have an open lab time set up for December 17th - If you could make it to that, we could try to work through some of this stuff - and, better yet, document what we find.
-Gabe