Month: August 2022

  • Reset user password in MediaWiki

    Preamble

    One of MediaWiki user lost his password, we need to restore access to user’s account.

    Reset using maintenance script (recommended): log into server, cd into maintenance directory and run

    sudo php changePassword.php --user=username --password=NEWPASS

    (Source)

    Reset using database: log in your database using privileged user and run

    UPDATE prefix_user SET user_password = MD5( CONCAT( user_id, '-', MD5( 'NEWPASS' ) ) ) WHERE user_id = 1

    (Source)

    Ensure your prefix_, user_id and are correct NEWPASS according your situation.

  • KDE error: “execvp: exec format error”

    Preamble

    When start concrete program from application menu this error message appears, program does not start

    I met this error with any version of Oracle SQLDeveloper 20+ which was installed from official rpm on Ubuntu + KDE via alien -dic.

    There was no error in MATE. May not reproduce in GNOME due to shell execution fallback. Met only in KDE.

    There is no error when launch via gio launch.

    There is no error when launch directly from terminal.

    It’s useless to add +x permissions on desktop-files.

    Launching via kioclient5 exec fails with following error:

    Unknown error code 100
    execvp: Exec format error
    Please send a full bug report at https://bugs.kde.org.
    (more…)