Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

The RHEL9 server upgrade caused a functional failure in our migration scripts.

Saurya Neupane December 14, 2023

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

2 answers

0 votes
Vickey Palzor Lepcha
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 18, 2023

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 ?

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
December 15, 2023

Have you verified pywiki is on the new server and is in the path of the user running the script?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events