I want to migrate my application (e.g., database migration) from CentOS8 to RHEL9.
Is it possible?
App and Data Migration
Moderators: Developer, Contributor
-
- Posts: 7
- Joined: 16 Apr 2025, 09:04
Re: App and Data Migration
Which MantisBT version, database type and version, web server type and version and PHP versions are you running?
OS version: CentOS Linux release 8.2.2004 (Core)
MantisBT version: define( 'MANTIS_VERSION', '2.24.1' );
Database type and version: mysql Ver 15.1 Distrib 10.3.17-MariaDB, for Linux (x86_64) using readline 5.1
Web server type and version: Server version: Apache/2.4.37 (centos)
PHP versions: PHP 7.2.24
OS version: CentOS Linux release 8.2.2004 (Core)
MantisBT version: define( 'MANTIS_VERSION', '2.24.1' );
Database type and version: mysql Ver 15.1 Distrib 10.3.17-MariaDB, for Linux (x86_64) using readline 5.1
Web server type and version: Server version: Apache/2.4.37 (centos)
PHP versions: PHP 7.2.24
Re: App and Data Migration
Export your database on CentOS
Import your database on RHEL
Download latest MantisBT (2.27.1 at the moment) on RHEL
Follow the steps in Admin Guide
https://mantisbt.org/docs/master/en-US/ ... preinstall
https://mantisbt.org/docs/master/en-US/ ... ll.upgrade
If your attachments are not stored in database, you have to copy them from your old server to the new one
Import your database on RHEL
Download latest MantisBT (2.27.1 at the moment) on RHEL
Follow the steps in Admin Guide
https://mantisbt.org/docs/master/en-US/ ... preinstall
https://mantisbt.org/docs/master/en-US/ ... ll.upgrade
If your attachments are not stored in database, you have to copy them from your old server to the new one
-
- Posts: 7
- Joined: 16 Apr 2025, 09:04
Re: App and Data Migration
Hello,
Thank you so much!
May I check if there's anything I need to take note of? (e.g., kernel version)
Thank you!
Thank you so much!
May I check if there's anything I need to take note of? (e.g., kernel version)
Thank you!
Re: App and Data Migration
Requirements are documented in Admin Guide and checked during installation
https://mantisbt.org/docs/master/en-US/ ... e.versions
https://mantisbt.org/docs/master/en-US/ ... e.versions
-
- Posts: 7
- Joined: 16 Apr 2025, 09:04
Re: App and Data Migration
Hi,
If your attachments are not stored in database, you have to copy them from your old server to the new one
- May I ask if you can clarify what do you mean by attachments?
Thank you!
If your attachments are not stored in database, you have to copy them from your old server to the new one
- May I ask if you can clarify what do you mean by attachments?
Thank you!
-
- Posts: 7
- Joined: 16 Apr 2025, 09:04
Re: App and Data Migration
Hi,
I have migrated successfully, however when i press My Account > Profiles > Facing error
APPLICATION ERROR #26
Data Type mismatch. Enable detailed error messages for further information.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Full path: /var/www/html/mantisbt/core/helper_api.php
Line number: 191
Stack trace
# Filename Line Class Type Function Args
0 /var/www/html/mantisbt/core/helper_api.php 191 - - trigger_error <string>'26', <integer>256
1 /var/www/html/mantisbt/core/helper_api.php 268 - - helper_check_variables_equal <string>'', <integer>7, <boolean>true
Could you please help to check?
Thank you!
I have migrated successfully, however when i press My Account > Profiles > Facing error
APPLICATION ERROR #26
Data Type mismatch. Enable detailed error messages for further information.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Full path: /var/www/html/mantisbt/core/helper_api.php
Line number: 191
Stack trace
# Filename Line Class Type Function Args
0 /var/www/html/mantisbt/core/helper_api.php 191 - - trigger_error <string>'26', <integer>256
1 /var/www/html/mantisbt/core/helper_api.php 268 - - helper_check_variables_equal <string>'', <integer>7, <boolean>true
Could you please help to check?
Thank you!
Re: App and Data Migration
Files that you uploaded to issues / added to notes.pinkbottle wrote: 14 May 2025, 01:53 - May I ask if you can clarify what do you mean by attachments?
Re: App and Data Migration
Is this the whole stack trace?pinkbottle wrote: 14 May 2025, 06:23 Stack trace
# Filename Line Class Type Function Args
0 /var/www/html/mantisbt/core/helper_api.php 191 - - trigger_error <string>'26', <integer>256
1 /var/www/html/mantisbt/core/helper_api.php 268 - - helper_check_variables_equal <string>'', <integer>7, <boolean>true