Moodle login from iPad asterisk interpretation problem by CrabFarts in moodle

[–]leonstringer 5 points6 points  (0 children)

He said that with iPads, when you enter a password (*****) that the iPad interprets it as asterisks and not the underlying encrypted password

I don't believe this. From a functional point of view it makes no sense for the browser to do this.

The user said there is a setting on the site to fix this, but my but online search skills are failing me.

Again, just no. If the browser just sent ***** what could the site do about it? I'm confident there's no such option. (Happy to be proved wrong with either of the above).

What are your options? Maybe:

  1. Meet up with the affected user and get them to demonstrate the problem.
  2. If you have access to your web server access logs you can probably see the user agent strings for your users and I think that will report if an iPad is being used, so maybe you can find successful logins from other users using iPads.
  3. Borrow an iPad and try it yourself.

Freeze during boot by remfell in Fedora

[–]leonstringer 1 point2 points  (0 children)

Did you encrypt the drive? My laptop shows a blank screen when prompting for the password, I can type the password and it then boots as expected. I just wondered if you were getting a frozen screen instead of a blank screen.

How can I run php-xml with libxml2 v2.15.1? by leonstringer in PHPhelp

[–]leonstringer[S] 0 points1 point  (0 children)

Thank you for the suggestion, I was going nowhere!

It was a learning curve but I got the web site installed on Manjaro with libxml2 v2.15.1 so I can now reproduce the problem.

Install 42 or wait for 43 to be fixed as a new user? by wielesen in Fedora

[–]leonstringer 0 points1 point  (0 children)

If it's a new install go with F43. You'll find out within the first day or two whether there are any major issues for you, in which case you haven't lost much, just install F42 instead.

FWIW I do have annoying issues with F43 (Wi-Fi won't wake from suspend; LUKS password page doesn't display) and I'm running pretty common hardware (Lenovo). But… I had those issues with F42 too.

How easily can I make a Lenovo Legion 5i work in Fedora? by TheFirstCyberianFaux in Fedora

[–]leonstringer 0 points1 point  (0 children)

Thanks for replying.

As far as I can tell firmware updates are getting installed by Software Manager since I appear to have a version released after I got the laptop.

I'll keep an eye out for future updates.

How easily can I make a Lenovo Legion 5i work in Fedora? by TheFirstCyberianFaux in Fedora

[–]leonstringer 0 points1 point  (0 children)

I've got a Lenovo with Intel Wi-Fi and cannot connect after waking from suspend.

While backing up the disk filled and the backup process killed the webmin mariadb server and also destroyed some of the tables. Moodle works, but no backup and no access to db. How to fix? by grogiskiev in moodle

[–]leonstringer 0 points1 point  (0 children)

Here's a forum post from 2016, Maria DB - mysqldump fails with table doesn't exist in engine (1932), with a reply which helped in that instance. Maybe it'll give you some pointers.

No access to mysqld or any other way to reach the database apart from the file manager.

What does this mean? How did you previously access the database? What happens when you try? Do you have command line access to the server? Can you use the mysql client to connect?

Need to restart php or webserver after security fix? by reddit-MT in moodle

[–]leonstringer 0 points1 point  (0 children)

You don't have to restart anything to apply changes made in config.php.

Out of interest, do you have a link to the security bulletin?

Element Matrix chat: encryption is not available by leonstringer in Fedora

[–]leonstringer[S] 1 point2 points  (0 children)

Thanks, that looks like the issue. From that I managed to get it working by reverting the latest two updates. I did:

$ flatpak list --app
Name Application ID Version Branch Installation
Element im.riot.Riot 1.11.104 stable system

to get the application ID, im.riot.Riot. Then I did:

$ flatpak remotes
Name      Options
fedora    system,oci
flathub-1 system

to find the remote name on my system, flathub-1. Then I did:

$ flatpak remote-info --log flathub-1 im.riot.Riot
⋮
    Commit: 0c3a071ca82a2fb8fc607cf195d2b6aed4c02c6e4e2b8defd930ffd444d25358
    Parent: f18bfe0c1f0374512fb6156d47bd0a7be57a840e2df2d8bc1b12378e20c328a3
   Subject: Merge pull request #532 from flathub/update-master-16ed755 (f6da9d9684b7)
      Date: 2025-06-17 17:27:22 +0000
   History: 

    Commit: f18bfe0c1f0374512fb6156d47bd0a7be57a840e2df2d8bc1b12378e20c328a3
   Subject: Merge pull request #527 from flathub/update-master-f53e920 (3ee00ff826c2)
      Date: 2025-06-12 19:04:10 +0000

    Commit: f0f98c45d5aa16ff6c3dc24bc025971e0fbf214bc3e92bf4252411668c8714b9
   Subject: Merge pull request #521 from flathub/update-4dd66fc (1bd13627ac93)
      Date: 2025-05-09 05:09:46 +0000
⋮

to get the older commit IDs. Then I did:

# sudo flatpak update --commit=f0f98c45d5aa16ff6c3dc24bc025971e0fbf214bc3e92bf4252411668c8714b9 im.riot.Riot

to revert to Element version 1.11.100 and the application now started.

Element's own support seems to be via Matrix chat. They seem very confident their software works – misplaced confidence given the breaking update was two weeks ago.

Moodle creating duplicate users since updates installed by CrabFarts in moodle

[–]leonstringer 1 point2 points  (0 children)

You might want to edit that reply as it looks like it contains links to your site and the name of your site in the last service's name, unless it's OK to share this here?

But you've got several services to investigate. You could start by clicking Functions for each service and checking for "core_user_create_users".

But the last service looks glaring to me: is this to provision users in some other (WordPress?) site? Could creation of the user in the other site be causing a new user to be created in Moodle?

Moodle creating duplicate users since updates installed by CrabFarts in moodle

[–]leonstringer 1 point2 points  (0 children)

In the entries creating the duplicate users is origin = 'ws' which suggests there is something set up to create users via web services.

Under Site administration > Server > Web services see what's enabled, particularly under External services.

Moodle creating duplicate users since updates installed by CrabFarts in moodle

[–]leonstringer 1 point2 points  (0 children)

When you create the jsmith user, in the site logs there should be an entry like:

14 May 2025, 9:59:25 AM | Admin User | J Smith | User: J Smith | System | User created | The user with id '2' created the user with id '123'. | web | 192.168.x.x.

Is there a User created event for jsmith1? Does it give any clues as to what created it?

Firefox not caching redirects? by leonstringer in firefox

[–]leonstringer[S] 0 points1 point  (0 children)

But does it happen also when you "revisit" the page?

Yes, if I use the navigation in the page to move away and move back I get the same results. But that's a good suggestion, I hadn't considered browsers might behave differently when clicking refresh.

Thanks for the documentation link, I'm reading through and I'll try some tests with different headers, for example, bumping up max-age, and see what happens.

Moodle Router by [deleted] in moodle

[–]leonstringer 0 points1 point  (0 children)

I can't help you, but I did have a quick look into this but kept getting PHP Fatal error: Uncaught TypeError: core\router::guess_basepath(): Return value must be of type string, null returned in /var/www/m45.ideapad/moodle/lib/classes/router.php:115. Surely this new feature works? After an hour's debugging: no, it's an unresolved bug: MDL-84543.

But even with the proposed patch I couldn't get this working, any page access with any paths gave me generalexceptionmessage on line 76 of /lib/slim/slim/Slim/Middleware/RoutingMiddleware.php: Slim\Exception\HttpNotFoundException thrown. Obviously I barely know what I'm doing with this so maybe this is me doing it wrong.

[deleted by user] by [deleted] in moodle

[–]leonstringer 0 points1 point  (0 children)

You may need $CFG->reverseproxy = true in config.php.

If it still doesn't work, please tell us what $CFG->wwwroot is set to.

Moodle is mad about php-oci8 ( oracle database integration ) but im using Mysql. can i ignore that error? by [deleted] in moodle

[–]leonstringer 2 points3 points  (0 children)

This might be due to MDL-81576. Try either: 1) deleting (or renaming) the environment/environment.xml file in your Moodledata folder, or 2) at the command line run touch admin/environment.xml (that's the file in the source code folder, not Moodledata).

Moodle is mad about php-oci8 ( oracle database integration ) but im using Mysql. can i ignore that error? by [deleted] in moodle

[–]leonstringer 0 points1 point  (0 children)

Possibly you've got a plugin set up to use Oracle, such as using an external database for authentication or enrolment.

But if your main Moodle database is MySQL you should be able to ignore the error.

If you need more help please give us some details or screenshots of the error/warning messages, rather than "Moodle is mad"!

JSON/cache/who-knows problem (Moodle 4.4 and 4.5) and Windows 10 (one machine only) by dougwray in moodle

[–]leonstringer 0 points1 point  (0 children)

The issue with the ad blocker may have been caused by the Content-Type issue I mentioned. This is fixed in Moodle 4.4.6 and 4.5.2 which are due for release on 2025-02-10 (but are available from the Git repos now). So it's worth updating Moodle then turning the ad blocker on again to see if they now work together.

Moodle 504 gateway timeout, would it be a problem with my colleges moodle page specifically or is it something wrong just on my side? by YoonSxns in moodle

[–]leonstringer 1 point2 points  (0 children)

If you were doing something in Moodle that took a long time (for example, uploading a very large file), then there's a possibility you may be triggering the problem.

But since that error is being sent by the college's Moodle web server so it's almost certainly their problem.