Today I installed Oauth2 plugin by Otobo repository using Package Manger.
The system is a Centos Stream 8, Otobo version 10.0.16, installed about 18 months ago without problem, and all „checkmodules –all“ are installed and OK, except Postgres and Oracle, which I don’t use.
I use a local MariaDB.
After installing Oauth2, working in Postmaster Mail Accounts, I got a „500 Internal server Error“ even before configuring an Oauth based account.
System Event Log shows this message after every „500 error“:
[Kernel::System::DB::_TypeCheck][2025] Unknown data type ‚TEXT‘!
What should I fix ? Is it a „database only“ issue, or anything else ?
the error Unknown data type ‚TEXT‘! is always present at OAUTH2 package installation and first usages, but OTOBO it works correctly (in fact, the table in MariaDB/MySql is created correctly, and the column TOKEN has type TEXT). SO: Why is this not-error shown? It doesn’t appear in further operations.
the error Unknown data type ‚TEXT‘! is not related to a specific version of OTOBO: I found it both in version 10.0.16 and 10.1.5 .
the REAL problem was the „Error 500: Internal Server Error“ by Apache-Httpd. This had no details even in apache event log. The cause was the .htaccess file ! (/var/www/html/.htaccess)
[ My .htaccess simply redirects from „/“ to „myipaddress/otobo/index.pl“ ]
The solution is:
rename .htaccess to something else;
restart apache/httpd;
configure oauth2 in otobo;
rename back .htaccess to its original name.
So: why is this simple redirection breaking Apache ?
Waiting for an explanation to this solution.
Regards
Giutobo
This reply was modified 9 months, 2 weeks ago by giulino-lenzi.
Our website uses cookies. Cookies are tiny text files which are saved in your web browser or by your web browser on your device when you access websites. They contain a characteristic character sequence allowing to clearly identify your browser upon your next visit to the website.
You can prevent the setting of cookies at any time by making the appropriate setting in your internet browser. Cookies that have already been set can be deleted manually or automatically at any time. This is possible in all common internet browsers. If the setting of cookies is deactivated in the browser, not all functions of the website may be fully usable.
We deliberately use very little cookies.
Detailed information can be found in section 4 of our Privacy Policy.
Necessary cookies
Essential Cookies are necessary to deliver this website and some of its features correctly.
For this reason, we do not provide any opportunity here to disable them.
Notwithstanding this, you can deactivate all Cookies in your Browser Settings at any time. Please be aware, however, that this might have an impact on the functionality of this website.
More information about the cookies to be set and how long they will be stored can be found in section 4 of our Privacy Poliy: Privacy Policy.
Google Analytics' Cookies
When you visit this website, Google Analytics sets cookies on your system. This will help us analyse how you use our website ans tailor it to the needs of our visitors. Your IP address will be automatically anonymised (IP anonymisation and deactivation of your User ID). Therefore, we cannot trace which data a certain user is accessing. The data are not saved together with any other personal user data.
You can deactivate tracking in your browser if you do not want us to be able to track your visit on our website.
Privacy Policy
Detailed information on the usage of cookies as well as our Privacy Policy can be found here: