-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Error] Unable to migrate the files from database to S3 #246
Comments
What is your version of osTicket? What version of PHP are you using? What "lower version" of the S3 Plugin are you referring to? Are you using an official build of the plugin (storage-s3.phar) or using an un-PHARed version or version from Git? Cheers. |
Hello @JediKev , Yes, I'm using an S3 Plugin - Version - 0.2.1 (from Git) I'm able to insert images (from OsTicket) to the bucket successfully using this plugin. I'm performing the migration of existing files to the bucket. But the migration fails :( |
👋 @JediKev |
Sounds like you didn’t hydrate the plugin. When downloading raw plugins you must first hydrate them to download and setup the dependencies. You will need to follow the instructions listed in this repo's README file: Cheers. |
Yes, Now I have hydrated the plugin and executed the steps as you mentioned. But still getting the same error :( |
You are using an old version of osTicket and old version of the plugin so I would encourage you to upgrade to the latest 1.15.x release and retest. If that fails then I would encourage you to download the plugin appropriate for your version from our downloads page on our website. Cheers. |
I am using osticket version 1.17.2, the plugin works correctly, now I want to migrate the file history to S3, but it shows me the following error:
|
This is not an osTicket issue; rather a server issue/user error. It appears as though your If it is showing the correct version then it’s definitely missing the mysqli extension. To resolve that you would need to install and enable the PHP mysqli extension. There are guides online that will explain how to do so for your specific server and PHP version. Cheers. |
Hello friend, thanks for replying. I get this when I run the command php -v
|
Precisely as I suspected, that version of PHP (8.3.x) does not match the version of PHP your osTicket site is running. You would need to reach out to your server admin and/or hosting provider and have them provide you with the correct PHP executable that points to the appropriate version of PHP. Once you have that you can retest the migrate command using the new PHP executable. Cheers. |
I made the change you mention and it works. Thanks
|
@JediKev https://github.com/vicman/osTicket-plugins/tree/develop/storage-s3 |
Hello,
I'm using the lower version of S3 plugin.
php manage.php file migrate --backend D --to 3
When I execute this command, I get an error.
I couldn't able to resolve this error.
Please help me in resolving the issue.
The text was updated successfully, but these errors were encountered: