-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to fetch Initiatives from Query Server #3
Comments
Hi Nick, It looks like your By the way, we made some changes to the database schema this fall, so you should see if you made it under the wire. One quick way to check would be to look for an |
Thanks Jason...that did the trick. Maybe it's just me, but it wasn't clear that I needed the /sumaserver/query from the install documentation: I actually dropped all tables in our DB and started fresh so we're good to go there. Thanks for your help. |
Great, and thanks for catching that issue in the docs. I just pushed a change that will hopefully clear things up for future users. |
Much clearer...I think even I could get it right the first time :) Thanks! |
Sorry for piggybacking on a closed issue, but I'm running into the same issue and it's not getting resolved even after following all the steps above. I downloaded Suma earlier this week, so I think I'm working in the latest version. I've edited the /analysis/lib/php/ServerIO.php file to include our URL path to the query server, but am running into the same 404 error when trying to open one of the reports:
Out of curiosity, I went to sumaserver/query/initatives and have the following Zend controller exceptions and stack traces:
I must be missing something, right? |
Hi Becky, We actually changed the way Suma is configured with the 1.0 release, which you can read about in the four sections that start with this one in updated install docs. Basically, we've (finally!) moved all configuration into configuration files. Still, I'm not sure that this is what is causing the problem. Could you tell me what URL you specified in the file? By the way, we did push a bug fix a few days ago, so I would recommend that you update to Suma 1.1.1 when you get a chance. |
That was the day after I cloned the repo. :-P Oh well. FWIW, I did follow the documentation posted beforehand, so I was trying to see if there was anything in the issues list that I may have missed. I did use the URL listed above. I've updated the instance, and I've managed to break even more things. When I try to access the admin page, this is the error I get:
suma/web/ works, but the connection to the db seems to have been lost since I am unable to retrieve past initiatives - I'm using the same db that I used before, and the config file has the correct login information. |
Never mind the 'more brokeness' report above. I got the admin portion to work, as well as the web client to recognize the db. However, the reports are still broken in the latest version, with the same error messages. |
Would you mind sharing your analysis/config/config.yaml file and also
|
Hi Jason,
Trying to install Suma here at Mann Library (Cornell). We were running an original version last Fall but I fetched the latest from github earlier this week at the request of a colleague. Everything seems to be working minus the reports. Here's the error I'm getting:
I updated line 25 of Suma/analysis/lib/php/ServerIO.php to 'suma.library.cornell.edu' as described in #2 but that gave me a malformed URL so I switched that up to 'http://suma.library.cornell.edu'. I think I'm missing some configuration for the query server.
Any help is appreciated. Thanks.
The text was updated successfully, but these errors were encountered: