secretkiller / concerto-platform

Automatically exported from code.google.com/p/concerto-platform
0 stars 0 forks source link

Can't run tests, unknown user concerto_1 #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create simple test with 1 template and 1 (or more, doesn't matter how many) 
string of code
2. Begin test session

What is the expected output? What do you see instead?
Excepted template but after few seconds I see 
"Error after line #0!" 
in "test session state" 
and 
"sudo: unknown user: concerto_1
 sudo unable to initialize policy plugin 

TIMEOUT"

What version of the product are you using? On what operating system?
I use Concerto v 4.0.0.8 beta on Ubuntu 14.04

Please provide any additional information below.
If I start test with button "run test" in bottom panel, I get error : "Fatal 
test exception encountered. Test halted".

Original issue reported on code.google.com by dhampi...@gmail.com on 17 Mar 2015 at 3:07

Attachments:

GoogleCodeExporter commented 9 years ago
i am having the same problem with the error message -- 

Failed to connect to database: Error: Access denied for user 
'concerto_1'@'localhost' (using password: YES)

The "concerto_" is the default prefix set in SETTINGS.php

Original comment by gopad...@gmail.com on 31 Mar 2015 at 11:50

GoogleCodeExporter commented 9 years ago
Concerto is not installed/configured properly.

Have you went through all installation steps at 
https://code.google.com/p/concerto-platform/wiki/installation4 ?

Original comment by LisPrzem...@gmail.com on 2 Apr 2015 at 2:38

GoogleCodeExporter commented 9 years ago
It's very strange. Problem solved with adding, by me, new user in Ubuntu. But 
it's not practical solution, to add users manualy. Could You write about 
process of creating users in Concerto? 

I went through all installation steps at 
https://code.google.com/p/concerto-platform/wiki/installation4 and on step, 
with crontab, I got this log:

anton@anton-PC:/var/www/concerto/html/cron$ sudo /usr/bin/php users.php 
PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be 
removed in the future: use mysqli or PDO instead in 
/var/www/concerto/html/Ini.php on line 231
PHP Warning:  chown(): Unable to find uid for concerto_1 in 
/var/www/concerto/html/cron/users.php on line 61
PHP Warning:  chown(): Unable to find uid for concerto_1 in 
/var/www/concerto/html/cron/users.php on line 72

Original comment by dhampi...@gmail.com on 23 Apr 2015 at 1:04

GoogleCodeExporter commented 9 years ago
This problem has nothing to do with user definition. Concerto defines users and 
their access rights, but this is likely to be because the user in unknown in 
this specific database. 

You should change the database name being called in R to point at the right 
database created by concerto. This step is not automatic. 

Original comment by a.elbouk...@assesstm.com on 28 Apr 2015 at 9:58