This is a duplicate of something I posted on the tracker/issues page. I was asked to post it here to see if anyone had any insights (or similar experiences).
- Log in as administrator
- Open message pane (with 1651 private messages, 0 starred, 0 group)
- Browser shows system calling up the messages (placeholders fade in and out)
- (Sometimes) "Undefined" popup appears.
- Refreshing page or attempting to go to new page results in 504 (without Cloudflare, 524 with) error for about 10 minutes, but only in the browser from which the request was made. Other browser can be used with administrator account at the same time, and other accounts show no such problem. Sometimes, but not always, three other Moodle installations on the same VPS also stop responding. For example, if administrator account is logged in to with Chrome and the message pane is opened, 504/524 errors occur in Chrome, but the administrator account logged in to on Firefox functions normally and vice versa. Student accounts function normally.
System:
- Ubuntu 20.04.4 on virtual private server
- NginX 1.21.4
- Moodle 3.11.5+, build 20220303
- mariadb 10.5.15
- php 7.4.3
- all recommended extensions installed and without problem reports
- Fordson theme, but problem obtains with Boost, also
additional plugins (all latest available versions; not currently used in italics):
Activity: Adaptive Quiz; Attendance; Attendance Register; Grouptool; Open Forum; H5P; Mindmap; Peer Work; Questionnaire; Sticky Notes; Student Quiz
Book/Book tools: Lucimoo ebook import; Microsoft Word file Import/Export (Book)
Peer Work/Grading calculator methods: WebPA calculator
Quiz/Access rules: Block concurrent session quiz access rule; Proctoring
Blocks: Advanced notifications; Grade Me; Quick User Search; Sharing Cart
Question types: Random select answers; Drag-and-Drop Matching; Freehand drawing (ETH); Gapfill; Multiple True False (ETH); Ordering; Pattern match; Record audio/video; Single Choice (ETH)
Question behaviors: Self-assessment
Question import/export formats: Moodle glossary entries
Atto HTML editor/Atto plugins: Close editor; Corrections; Word count; Font family; Font size; Horizonal rule; More font background colors; More font colors; Sketch; Atto Word Count; Import Word file
Availability restrictions: Restriction by relative date
Course formats: Collapsed Topics
Reports: All backups; Roster
Themes: Fordson
Looking through the system (as far as I can understand it), things get hung up with sending the data to the browser. The mysql/MariaDB SHOW PROCESSLIST gives "Sending data" for the job that's called when I click on the messages popup. (The job starts with "SELECT m.id as messageid, mc.id as id, mc.name as conversationname, mc.type as conversationtype, m.u ".) It also gives a "Sleep" command that seems to start about 64 seconds after the command that gives "Sending data." After something more than 621 seconds the process disappears, and I am able to see the site in the browser again.
Unfortunately, I am between academic years now, so I do not know if any new messages are getting lost. The last time I used the message system normally was on 19 February, at which time I was using either the then-current build or the previous build. The bad effect for me is that I cannot view messages within the Moodle system or send any. I am both the administrator and the sole teacher in the system, and all teacher-role messages are in the account I use as a teacher.
A new student account I created for myself is able to send messages to my administrator account and the administrator account gets a notification, but the message is never visible.
N.B.: I got it working now by running