how can I read the logging for odoo enterprise 14 installed on ubuntu 20 - odoo

I'm developing a custom module for odoo and suddenly got this error:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
And I don't know how to find the problem
I'm using odoo enterprise 14 installed on ubuntu 20
Please I need a way to understand what happen

You can read the status of the odoo service and will tell you the output of the logfile.
Try
sudo service odoo status
or
sudo service odoo-server status
The output will show the location of the log file.

Related

Fatal error issue while setting up pgadmin4 in windows 10 with PostgeSQL 14.4

I am beginning with phoenix and PostgreSQL 14.4. I have installed PostgreSQL successfully. But now when I am trying to set up pgadmin4 it shows me some fatal error.
I have tried uninstalling and reinstalling it. But I couldn't resolve the error.
2022-07-13 12:33:41,767: WARNING werkzeug: WebSocket transport not
available. Install simple-websocket for improved performance.
Serving Flask app 'pgadmin' (lazy loading)
Environment: production WARNING: This is a development server. Do not use it in
a production deployment. Use a production WSGI server instead.
Debug mode: off
2022-07-13 12:33:41,769: ERROR pgadmin: Error starting the app server:
(<class 'OSError'>, OSError(10013, 'An attempt was made to access a
socket in a way forbidden by its access permissions', None, 10013,
None), <traceback object at 0x000002227BBCEE80>)
It would be very helpful if you could help.
I guess the port pgadmin is trying to run is being used by another application. Or applications may be restricted by Windows to open ports. My advice is to try to run it by changing the port as described below;
Click on the pgAdmin 4 tray-icon
Click "Configure..."
Check the box labeled "Fixed Port Number?"
Enter the desired port number in the field next to it
source: https://stackoverflow.com/a/68006199/13756006
If that also fails you may need to check port permissions in Windows (firewall etc, whoever is controlling these permissions on windows)

User account pool creation encountered failure while executing the registerRext.exe in SQL server 2016 R services

the cmd execution of registerRExt.exe
I am trying to install RRE(Revolution R Enterprise) v7.5 with RR0 3.2.2(Revolution R Open) on a SQL Server 2016 RC0 default instance. All the steps shown in the https://msdn.microsoft.com/en-us/library/mt590808.aspx have been completed and the error occurs in the Post installation Server configuration scripts. The script has also been replaced by the updated script for RC0 shown on the msdn site but still I get the same error on running the registerRExt.exe file.
The site shows while installing the instance the account name for Server Database engine has to be MSSQLSERVER, however this had also resulted in an error stating wait on database recovery handle failed which was sorted by changing the account name of Database engine to NT AUTHORITY/SYSTEM(I provided this info as it can also be the cause of the problem) . Now I need to sort the user pool failure. Any help would be appreciated..thanks in advance
SQL 2016 RC1 was just released https://blogs.technet.microsoft.com/dataplatforminsider/2016/03/18/sql-server-2016-release-candidate-1-now-available/.
SQL RC1 has a newer version 8.0.1 version of RRE. I suggest your try to install it and reply to this thread again if you hit the same failure. https://msdn.microsoft.com/library/mt590809.aspx has the details on where to find Microsoft R Open 8.0.1 and Revolution R Enterprise 8.0.1.
If the issue persists RevoScaleR\rxLibs\x64\registerrext.log would have more details on the exact failure - do share that.
I was able to sort out the issue..It was because I was installing the SQL server on domain controller and ignored the warning while install, but then changing some rules and demoting it from Server Manager worked and the install was successful.
However I do know there may be some better solution to that as all the other user accounts got reset in the process.

"500 status code received on GET method for API" error in Ambari - Hive Service instllation

I have ambari 2.1.2 installed on CentOS 6.4. I have the following two questions related to Hive service installation through ambari.
Question 1:
On the Ambari Dashboard, what is “MySQL Server / Hive”?. When Ambari was installed, wasn’t MySQL server already installed initally?. Will installing the “MySQL server/ Hive” service, overwrite the existing MySQL server?.
Question 2:
When I try to install “MySQL server / Hive” service, I get the following “Get Method for API” error (please see details at the end of this post). I tried to create hive database manually also and selected “Existing MySQL database” option from the config section, but this error never goes away. I am unable to find any logs and therefore stuck.
Following is the first error message that is displayed in a dialog box.
500 status code received on GET method for API:
/api/v1/clusters/SGICluster/hosts?fields=Hosts/rack_info,Hosts/host_name,Hosts/maintenance_state,Hosts/public_host_name,Hosts/cpu_count,Hosts/ph_cpu_count,alerts_summary,Hosts/host_status,Hosts/last_heartbeat_time,Hosts/ip,host_components/HostRoles/state,host_components/HostRoles/maintenance_state,host_components/HostRoles/stale_configs,host_components/HostRoles/service_name,host_components/HostRoles/desired_admin_state,metrics/disk,metrics/load/load_one,Hosts/total_mem,Hosts/os_arch,Hosts/os_type,metrics/cpu/cpu_system,metrics/cpu/cpu_user,metrics/memory/mem_total,metrics/memory/mem_free,stack_versions/HostStackVersions,stack_versions/repository_versions/RepositoryVersions/repository_version,stack_versions/repository_versions/RepositoryVersions/id,stack_versions/repository_versions/RepositoryVersions/display_name&minimal_response=true&sortBy=Hosts/host_name.asc
Error message: Server Error
If I close the dialog box, by pressing "ok" green button, then the error message is shorted as shown below
500 status code received on GET method for API:
/api/v1/clusters/SGICluster/requests?to=end&page_size=10&fields=Request
Error message: Server Error
I found that trying to install MySQL will fail because there is already an instance of MySQL server. The solution is to ignore the installation of MySQL server and use the existing mysql server instance, which can be mentioned from the advance configuration section in Ambari.

MobileFirst Platform : Can't launch mfp server

I actually try MobileFirst Platform Foundation for developer, I want to use it with the CLI but after installation when I want to start the server with: -mfp start
I have this message :
Initializing MobileFirst Console.
CWWKE0054E: Unable to open file C:\Users\bdupont.ibm\mobilefirst\7.1.0.00.20151012-1525\server\wlp\usr\servers\worklight\logs\C:\Users\MVENTU~1\AppData\Local\Temp\ihp_custom_batches.log.
The server is listening on port 10080.
Server Directory: C:/Users/bdupont/.ibm/mobilefirst/7.1.0.00.20151012-1525/server/
URL: http://localhost:10080/
If i try to see server status with mfp status it said that the worklight server is not running.
I tried to see log with mfp -d start but it doesn't seem to have issue.
If anyone have an idea?
Thank you.
Solution : websphere - CWWKE0054E error unable to open file
Look at Gas post, it was a problem of environment variable.
Try deleting all the contents in mobilefirst/
In command prompt run
lsof -i :10800
kill -9 <port_number>
Then do mfp start again to restart the server

Pentaho server is not accessible

I am using pentaho 4.5 , but whenever i install it and try to access the server , it raises some issue like JVM_bind , but i am not running any server ,
recently i changed my tomcat port no , then it raises this issue
Pentaho Initialization Exception
The following errors were detected
The system failed to initialize.
SolutionEngine.ERROR_1009 - Missing, invalid, or expired product license.
Please see the server console for more details on each error detected.
Hussain, it looks like your license has expired. If you are an Enterprise customer, you may need to install (or re-install) your license files using the Enterprise Console. If you have not subscribed, your demo license may have expired.
I am not sure did is help but did you change pentaho-solution to other version ?