We've received some reports of the error "Error: remote username contains invalid characters
" occurring after updating to v5.3.14.1. An initial plugin update failure is required to trigger this issue, where the error will still be returned after the Plugin can update until the JB5 service is restarted. This is a bug that will be resolved in a future version.
The fix for this issue is ensuring that JB5 and the SSH Destination Plugin are up to date and then restarting the service. If the plugin is updated without restarting the service, the "remote username contains invalid characters
" error may reoccur in some cases.
This can cause the following errors:
[15/Oct/2024 21:40:06 +0000] [PID 2584738] [ERROR] Destination "SSH Legacy": Failed downloading verification file from remote destination. Error: remote username contains invalid characters rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(231) [Receiver=3.2.7] [15/Oct/2024 19:36:15 +0000] [PID 718682] Indexing Account "acct1" (#620fd7a3eec56f00sd4s02d9)... [15/Oct/2024 19:36:15 +0000] [PID 718682] [ERROR] remote username contains invalid characters rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: unexplained error (code 255) at io.c(231) [Receiver=3.2.7]
Environment:
- JetBackup 5 v5.3.14.1
- SSH Destination - 1.1.3-3 (must use 1.1.4-9+ for JB v5.3.14)
1. Verify JetBackup 5 is fully up to date for your selected release tier.
jetapps -a
2. Update the SSH Plugin using the command below. If you see "No packages available for this plugin", it is fully up to date.
If you see an error, please ensure our plugin repository IPs (IPv4 and IPv6) are whitelisted for the domain "https://repo.jetlicense.com", or open a support ticket for further troubleshooting.
jetbackup5api -F updatePlugin -D "_id=$(jetbackup5api -F listPlugins -D "filter=SSH" |grep '_id:' | awk '{print $2}')"
3. Restart the JetBackup 5 service OR - Alternatively, go to "Plugins > Available Plugins" and click "Reinstall" for the SSH Plugin.
service jetbackup5d restart
4. Reindex all destinations if a Verification ID mismatch is triggered by the above issue.
for id in $(jetbackup5api -F listDestinations | grep '_id: ' | awk '{print $2}'); do jetbackup5api -F reindexDestination -D "_id=$id" ; done
If the issue persists after checking all the above, please open a ticket with our support team providing the log for jetbackupd.log and any other information.