Dear Atlassian Support Team,
I am writing to seek assistance with an issue we have encountered during our ongoing migration of Confluence. We recently updated our servers from Red Hat Enterprise Linux 7 (RHEL7) to Red Hat Enterprise Linux 9 (RHEL9) to address certain security vulnerabilities. Post-update, we are facing critical challenges with our previously functional scripts.
Issue Summary:
Script Functionality: The scripts we rely on for exporting, processing, and importing data are no longer functioning correctly on RHEL9.
Error Details: [Include any specific error messages or logs here, if available.]
Impact: This issue is severely impacting our migration process and timeline.
Attempts to Resolve:
*We have attempted to install the required packages noted in the KB but when trying to run the export script it says:
“./export.sh: line 17: pywiki: command not found
./export.sh: line 20: pywiki: command not found
./export.sh: line 21: pywiki: command not found”
This is line 17,20,21 in the export script we are using.
17: “SPACES="$(pywiki util_csv_col_values -a key_src -c $1)"
20: “pywiki spaces_stats_to_csv -s $SPACES -c $DIR_EXPORTS/stats.csv”
21: “pywiki spaces_export_from_csv_src -c data/spaces-group3.csv”
*Checked compatibility issues between the script environment and RHEL9.
Request:
We are requesting guidance and support on how to adapt or modify our scripts to work seamlessly with RHEL9, ensuring compatibility with the latest Confluence version.
Technical Details:
Confluence Version: 8.7.1
Server Details: RHEL9
Scripting Language Used: Python, Bash, ACLI
Nature of Scripts: Export.sh script is used to Export spaces from the targeted instance. Process.sh script is used to convert zip files to the destination format. Import.sh is used to move the processed zip files to the import folder and import them with ACLI
Attachments:
Error logs/screenshots
Sample script (if possible and not against security policies)
We appreciate your prompt attention to this matter as it is critical to our operations. Thank you for your assistance.
Best regards,
Saurya Neupane
Full stack developer
Try resolving this error first :
“./export.sh: line 17: pywiki: command not found
./export.sh: line 20: pywiki: command not found
./export.sh: line 21: pywiki: command not found
Very if pywiki is available in the server ? Or was it removed during RHEL upgradation ?
Have you verified pywiki is on the new server and is in the path of the user running the script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.