Upgrading Mattermost Version 5.39.0 - mysql

Attempting to upgrade Mattermost Version 5.39.0 to the most recent version 7.7.1. Attempted to upgrade to the most recent version, but kept getting an error message.
Error Message
Then attempted to upgrade to version 5.39.3, but still got the same error message.

Related

How to fix the the error in migration when migrating in mysql in django

When I'm trying to migrate my models in Django in MySQL. I always got this error
django.db.utils.ProgrammingError: unsupported operand type(s) for %: 'bytes' and 'tuple'
I'm feeling it was version conflict on mysql and django
Attached is the error message I'm getting
After some browsing i found out that it has some version issue on python 3.4. Upgraded from python 3.5 or higher and it worked.

Error after upgrading from laravel 5.4 to laravel 5.5

I have just updated an Laravel project from Laravel version 5.4 to 5.5. After upgrading I am getting error where the error message is:
Line: 2445
File: /home/vagrant/Projects/Media365/harlib-core/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
Call to undefined method Illuminate\Database\Query\Builder::newQueryForRestoration()
I have no clue why I am getting this error. Even there is nothing but only comment at line 244Illuminate/Database/Query/Builder.php file.
If this error is caused from a queued job and you're using supervisor to run the queue worker then I was having the same problem. I was running the queue worker on supervisor before I upgraded to 5.5 from 5.4. Supervisor keeps the old version and you need to restart it:
supervisorctl restart <program_name>

Codeigniter Database Error 1366

I recently moved a working CI application to a new server (AWS/Ubuntu). This new server is running PHP 7 instead of PHP 5.4 installed before. MySQL is newer too and changed mysql to mysqli. CodeIgniter is still 2.x (planning to upgrade to 3.x in the upcoming weeks).
Managed to solve some .htaccess and routing issues but now I'm getting a database error:
A Database Error Occurred
Error Number: 1366
Incorrect integer value: '' for column 'propertyDateEffect' at row 1
Since this was already working before first thing I did was checking server settings. I noticed sql_mode was "STRICT" so I modified my.cnf and it now looks like: IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION with TRADITIONAL instead of STRICT_TRANS_TABLES. This however, after a mysql restart, didn't fixed the error.
What else could it be?

Grails quartz plugin breaks on upgrade from mysql 5.5 to mysql 5.6

I am using the Quartz plugin:
compile ":quartz:1.0.2"
In my BuildConfig.groovy. This appears to be the latest version of Quartz to use.
I am trying to upgrade to MySQL 5.6.19 and on startup I get the following error from Quartz:
Message: Couldn't acquire next trigger: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right
syntax to use near 'OPTION SQL_SELECT_LIMIT=1' at line 1
This appears to be a breaking change between MySql 5.5 and MySql 5.6.
Is there a fix for Quartz or a workaround to get around this when using MySql 5.6?
It looks like the problem is related to the JDBC driver. Upgrading from 5.1.6 to a more recent version 5.1.31 solved the issue.
Quartz JDBCJobStore problems with MySQL

Magento error after moving site to another hosting

I have transfered my site(CMS Magento) on another hosting, but I have the newest version on this (Apache version 2.2.29 | PHP version 5.5.16 | MySQL version 5.6.16-cll-lve) not like old host(about v5.1).
I get this error in frontend "Fatal error: Call to a member function useLoadDataFields() on a non-object in /home/xxxxxx/public_html/app/code/core/Mage/Eav/Model/Config.php on line 610" but the header is still working. I have opened the log and shows this error "a:5:{i:0;s:63:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away";i:1;s:1580:"#0 /home/xxxxxx/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array).... ".
In admin when I log in I get this error "Fatal error: Class 'Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract' not found in /home/sexup/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Text.php on line 37"
Please help me solve this problem.
"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away"
did you set up the database connection in app/etc/config ?
if answer is yes, maybe problems are with your new host resources (some shared hostings are not appropriate for magento )?
under this link is explanation of db error http://dev.mysql.com/doc/refman/5.0/en/gone-away.html