Open davidread opened 8 years ago
I've followed the instructions to the letter, except in certain cases - for example, adding the admin user in CKAN:
sudo -u www-data /home/co/ckan/bin/paster --plugin=ckan sysadmin add admin --config=/var/ckan/ckan.ini
I've taken this on board and been more explicit in the paster command-lines: https://github.com/datagovuk/dgu-vagrant-puppet/commit/99417f18aff5f45f6a0873aff471be295ccfdcdc
Leaving the Drupal stuff to @ratajczak to consider.
I would like to add that in 4), SIGTERMs occur while CKAN is in use and not at random, therefore they are in my opinion due to real errors and not periodical server restarts - especially since there is also a mention of a graceful restart:
[Sun May 01 06:40:45 2016] [notice] Graceful restart requested, doing restart
7) When checking ckan-apache-error.log, I also noticed the following error
[Tue Apr 26 14:55:05 2016] [error] 2016-04-26 14:55:05,917 ERROR [ckanext.dgu.authentication.drupal_auth] Error checking session with Drupal: Drupal returned protocol error for session_id 'qZS-CEKutYAlaN3_TdSioSu7tNKXcv7mS5tqLIOwH_M': <ProtocolError for ckan:letmein@localhost:80/services/xmlrpc: 503 Service unavailable>
I will try to find out, when it happens.
Thank you very much.
I also am encountering the error 2).
i.e. when I save the user form (having done 'drush uli' and filled in a new password) I see this error (in the web interface, having done 'drush vset -y error_level 2'):
Error messageEntityMetadataWrapperException: Unknown data property
field_user_account_uid. in EntityStructureWrapper->getPropertyInfo() (line 339 of
/var/www/drupal/dgu/profiles/dgu/modules/contrib/entity/includes/entity.wrap
By @zvetaM, moved from https://github.com/datagovuk/dgu-vagrant-puppet/issues/107#issuecomment-214759809
Hy!
I also encountered some problems with Drupal;
1) When I executed the last step in the first block of code in 4. Drupal --> Install the DGU Drupal Distribution, drush --yes --verbose site-install dgu --db-url=mysql://co:pass@localhost/dgu --account-name=admin --account-pass=admin --site-name='Slo portal' I received the following error:
which I ignored for the time being.
2) But then in the step 5. Drupal content, when I wanted to change admin's password using "drush uli" (in /var/www/drupal/dgu), after entering the new password into the web gui and clicking save, I received the error:
The website encountered an unexpected error. Please try again later.
Through enabling the dblog and syslog Drupal modules I managed to get more details about the error:
3) By the way, when I tried to enable dblog Drupal module, I received the following error. But afterwards it seemed as if dblog was activated fine anyway, since drush wd-show works fine...
4) In /var/log/ckan/ckan.log I noticed several such messages:
5) If I click on "modules" in the Drupal GUI, I get the following error (using drush wd-show)
6) When I run Database-update in the Drupal GUI, I get the following error:
I hope that this isn't too much... I've followed the instructions to the letter, except in certain cases - for example, adding the admin user in CKAN:
sudo -u www-data /home/co/ckan/bin/paster --plugin=ckan sysadmin add admin --config=/var/ckan/ckan.ini
Thank you.