Hello Jacob,
UDOIT 2.3.4 has worked fine in many courses in our test instance of Canvas since I installed it on July 26. It takes about 10 seconds to scan a practice course.
But since I installed it in our production instance yesterday, it hasn't worked. It hangs during scans of this same practice course in production, a new blank course, and a few other courses I tried.
Scanning: module_urls, syllabus, pages, files, discussions, assignments, announcements... (7 left to scan)
If I scanned only one type of content, it still hung (regardless of which type I select):
Scanning: announcements... (1 left to scan)
When I reinstalled, it showed:
Scanning: files... (1 left to scan)
and showed 0 errors if I only scanned the other 6 content types, even though it had showed 72 errors, 8 suggestions and 1 unscannable Word file in Canvas test.
udoit.xml.php correctly displays XML in a browser.
I see no related errors in the Apache access logs; all response codes are 200 or 302. (I have no access to Apache error logs due to the shared server configuration.)
The users.canvas_url field in the database shows the production Canvas URL, with entries created today.
But the last entries in the job_queue and reports tables are dated November 19.
The changes I made to implement in production:
- Removed the LTI from Canvas test.
- Added a developer key to Canvas production.
- Copied the OAUTH2 ID and key to $oauth_id and $oauth_key in localConfig.php
(When I first tried to install in production, I forgot to change the OAUTH ID, but this is fixed.) - Added the LTI to Canvas production using the same consumer key and shared secret.
Other things I tried:
- Changing the UDOIT_ENV variable to ENV_PROD didn't help.
- Changing it to ENV_DEV gives an error "UDOIT failed to scan this course."
- Commenting out the GOOGLE_API_KEY and VIMEO_API_KEY didn't help.
- Deleting all rows in all database tables returned to hanging on "7 left to scan".
- Restoring the database and running update job_queue set status='expired' where status='running'; reverts the behavior to hanging on scanning files.
- I also tried installing version 2.3.5 on Canvas test, via both git clone and zip file, but in both cases the LTI can't be installed because udoit.xml.php gives an internal server error in the browser. (The logs show a 404 error, but the file exists and is readable in Linux, as is settings.php.)
Thanks in advance for any suggestions.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.