datagovuk / dgu_d7

Data.gov.uk Drupal 7 project
24 stars 23 forks source link

Installation Problems #246

Closed verena91 closed 9 years ago

verena91 commented 10 years ago

Hi,

Can you please give me an email adress to reach you and I will ask some questions about installing dgu_d7?! I am having many problems with that.

Thanks.

Verena

ratajczak commented 10 years ago

Hi Verena,

I think it's better to post your problems here to let others find the the answers quickly if they experience the same problems.

Thanks, Pawel

verena91 commented 10 years ago

I'm trying to install Drupal locally on a Ubuntu 12.04, meets all the requirements needed. But the second step of the installation guide does not work for me, I mean, not created correctly Drupal instance. And then run the four commands that follow (enable modules), the result I get is this:

print

As you can see the assets directory not found.

noels commented 10 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

The assets directory should be a symlink to https://github.com/datagovuk/shared_dguk_assets

verena91 wrote, On 21/01/2014 15:07:

I'm trying to install Drupal locally on a Ubuntu 12.04, meets all the requirements needed. But the second step of the installation guide does not work for me, I mean, not created correctly Drupal instance. And then run the four commands that follow (enable modules), the result I get is this:

print https://f.cloud.github.com/assets/3751900/1964444/84d27226-82ad-11e3-8c96-d15d312990f3.png

As you can see the assets directory not found.

— Reply to this email directly or view it on GitHub https://github.com/datagovuk/dgu_d7/issues/246#issuecomment-32893058.

-----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS3pEMAAoJEFFVsRfbzGZ6hRgIAIDu2CPmkjHWC5mborHdviUx +cYECS28Raiqmi1oHReC1JAljlwNibUPhtJIQWQVClnmgvfc6rmIgrStyOCMSQs+ j0RRdzo2xk5raKJ1Uve1BVFHya3jcdkzEje4UN4R6SH6XN1tmQ3meAB6tv1b89qY VQWTvTJUSqxoTVL6JKtpSLqkc6CXcvLKoEWDXjrYEWixapUYvVB7OvcJmW/xY7DE jKcei4fLDTqe8RgLFH2xG3Ox9xHoT1xPpJcDXr3zfePpGwRDIO2eqjqu7PArreSY 2vykZkoN6KIPuuGvXfW+pIAJJnjX0WWliOdMWDYqY7/2DZ0shs3Pxv0wYk32Te8= =Ulzd -----END PGP SIGNATURE-----

verena91 commented 10 years ago

Also none of the links work for me, all lead me to a "not found" page. This should be resolved with the symlink to?

And, some other package on this github is requirement for proper installation of Drupal? Because the guide says nothing about such shared_dguk_assets, for example.

noels commented 10 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

That sounds like you don't have clean urls correctly set up. You need to check your Apache config to ensure that AllowOverride All option is set. See: https://drupal.org/getting-started/clean-urls for more.

verena91 wrote, On 21/01/2014 15:34:

Also none of the links work for me, all lead me to a "not found" page. This should be resolved with the symlink to?

And, some other package on this github is requirement for proper installation of Drupal? Because the guide says nothing about such shared_dguk_assets, for example.

— Reply to this email directly or view it on GitHub https://github.com/datagovuk/dgu_d7/issues/246#issuecomment-32895879.

-----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS3pRcAAoJEFFVsRfbzGZ6FkYH/2+PPJ/yDkUSczc9eC2q4bV+ H946Ndpbv84S8EUDSSVyuKz0am4aD2mYxOdptVaaUGTveIVWqqELWjOQG6bU5os4 dMwIwd/9bRb0UUJdSvKBV2V1YxPUL0sf2KtO/M/I+n/d78n/0FMBPU/in2N3cu7s 5NZVgTlDgD83HjLYieBHiIgpypwmm9cVmmnc8kDLFLla/1c6BnCzzrC/t9PSWI7t aokwvzbq6xUPjQ2ZnaAgkGD/GmEROOyXxr/DiGfgXGOAyk/Wvxa9dDCUfOm19vkm PU6sxd9dwzNiXVD14bGS6RHU2McrqSNMsWyNTBbfh36zz2me+xl4LTwrHEwkqnk= =XLud -----END PGP SIGNATURE-----

verena91 commented 10 years ago

Ok, thanks a lot. I'm gonna try why you say me and if still doesn't work I will contact you again.

verena91 commented 10 years ago

Hello again,

I solve all the problems described above. Now, I have another question, how I can integrate my new Drupal with an existing instance of CKAN only locally?? It's that possible or not? And if possible, in the section "datasets" should be listed all my datasets of CKAN instance right? Or some other configuration besides the url and API key is required?

Regards.

Verena

davidread commented 10 years ago

@verena91 There's a lot of bits and bobs needed to integrate with CKAN. The site is described in http://data.gov.uk/about/technical-details with links to the branches of the code we use. The details of the config are contained in Data.gov.uk To Go: http://data.gov.uk/blog/datagovuk-to-go

ratajczak commented 10 years ago

To get CKAN datasets listed in "datasets" section you have to import them using this drush command:

drush ckan_resync_all

It's quite time consumming process, you can see the progress at module configuration page in 'Status' section: /admin/config/system/ckan This command sets a lock to avoid overlaps of importing jobs so if you stop it before it finished (it removes the lock at the end so if stopped before that lock will stay unreleased) you need to add --kill parameter to remove the lock manually:

drush ckan_resync_all --kill

Once all datasets and publishers are imported you can keep them in sync with CKAN by running this command via cron (we run it every minute, it also sets a lock to avoid overlaps):

drush ckan_update

Here is the code if you want to take a look: http://drupalcode.org/project/ckan.git/blob/refs/heads/ckan_dgu_7.x-1.x:/ckan.drush.inc