Cannot install plugin on JIRA Server - nginx

We have JIRA-Software 7 running on a custom docker machine with a Postgres DB and nginx as a reverse proxy (SSL). The custom domain is https://jira.url.de and is working so far. Installation has not been a problem.
But now i wanted to install a plugin and i get the following error:
An unexpected error has occurred. Please refer to the logs for more information.
First of all where can i find the logs?
Second - i found out that if i click on "Manage Add-on i will be directed to a 500 error on http://127.0.0.1:8080/plugins/servlet/upm
I read somewhere about configuring the server.xml file in order to correct the plugin url. But how can i edit this file? I can not find it inside the docker container.
UPDATE
if i try to update the Atlassian Universal Plugin Manager Plugin i get the following console Notice:
[blocked] The page at https://jira.url.de/plugins/servlet/upm was not allowed to display insecure content from http://127.0.0.1:8080/rest/plugins/self-update/1.0/.

If by clicking to Manage Add-ons you will go to loopback IP Address, most likely your Base URL is not configured properly. Thus, I would say ensure that your base URL configured properly.
Other than that, you need to ensure that you do have proxyName and proxyPort configured in server.xml file. I would say check this document for full details about Nginx configuration.
Lastly, installing plugin from UPM requires access to Marketplace. Thus, you need to ensure that your docker image is able to communicate with Atlassian Marketplace.
Hint:
Monitor atlassian-jira.log file which is in home directory of the jira. That way, you will get better information from the logs.

Related

Database error installing WordPress on Ubuntu

I am trying to install WordPress on Ubuntu.
I have installed mysql and created a database and granted a new user permission to use it, but when I visit the domain linked to the server it asks me for the database information and then says it is invalid.
I have double-checked this information, so does anyone have any suggestions why this is happening?
I visit the domain linked to the server it asks me for the database
information and then says it is invalid.
When this happens, most probable reasons would be.
The actual database and schema may be unavailable.
So first check if the database table is available to you. This can be done through command line, phpmyadmin, or database clients like MYSQL Workbench. Try accessing your database. If the schema is available and accessible to you, then surely wordpress too can connect to it.
You have mentioned that you are trying to access the domain name, and enter credentials, which means you are trying to install via graphical user interface, as against editing wp-config.php file via ssh. So, if if you have passed the step 1, try to check if the file system is writable. Read this article for setting correct file permission. https://wordpress.org/support/article/changing-file-permissions/
Also you can include some screenshots, and add more information on the type of server configuration(apache/nginx, php, mysql versions, port configurations) you use, and the type of installations you performed.

I need to run a file that I placed on an AWS server using sftp

I have a bitnami WordPress instance using AWS lightsail. I need to migrate the site to another identical AWS instance. I created a PHP installer from the first instance using the Wordpress Duplicator plugin.
I then uploaded the file onto the new server to a folder (opt/bitnami/apache2/htdocs/).The instructions I've seen online they say I just need to navigate to the location of the installer in a browser and it will run. However, when I attempt to access the PHP file from a browser I just get an error on the front-end saying:
OOPS! THAT PAGE CAN’T BE FOUND
I have seen suggestions online that the installer be placed into a public folder called html_public but my instance doesn't have a folder like that. I changed the access rights to the folder, and the installer, to be full rw access.
Any ideas how I can get this to work?
You must config the Security Groups firewall to open the HTTP port.
Open the Amazon VPC console at [https://console.aws.amazon.com/vpc/]
On the Inbound Rules tab, choose Edit the port range 80, 443 - Source: Anywhere - IP Address: 0.0.0.0/0 and Save.

HTTPS not working with WordPress click to deploy

I installed WordPress in Google Cloud Plattform using the feature "Click to Deploy".
But I need my website work with HTTPS. So I get a certificate with Let's encrypt and I followed the instructions in https://cloud.google.com/appengine/docs/standard/python/console/using-custom-domains-and-ssl to install it. All the process was successful but when I try to use my site with HTTPS I get the error "the site refused the connection".
This page https://cloud.google.com/solutions/connecting-securely says an option is use load balancing, but I believe I don't need that.
I applied this others instructions unsuccessfully:
www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress
www.elegantthemes.com/blog/tips-tricks/how-to-install-wordpress-on-google-cloud-and-why-thats-awesome
stackoverflow.com/questions/30075971/google-cloud-platform-cannot-get-https-ssl-working-on-wordpress-instance
My site works fine with HTTP.
I resolved my problem with this video: https://www.youtube.com/watch?v=7kLvD2mlmlk
The difference is I had to upload my crt and key files generated by Let's encrypt.
It was very difficult for me because I am not familiar with linux.
Regards.

drupal internal server error

I had created a folder in my site, and uploaded drupal in it. But when I access it, the following error is coming
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, webmaster#xxxxxx.xx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
There are literally thousands of things that can be wrong
Do you have access to the webserver logs? Check /log/apache/error.log for errors.
Have you already configured drupal correctly? Normally, when you surf to the drupal root directory, you get presented with an installer message.
Does your server support PHP?
I'd recommend any of the following:
Checking that you meet the Drupal requirements
Re-uploading the whole Drupal folder
Testing the Drupal folder (is this a custom installation, or just straight from the drupal website?) on local LAMPP webserver.
Assuming you're trying to run Drupal for the first time (ie run the installer), have you followed the pre-install setup?
Here's Drupal's "Quick install guide for beginners": http://drupal.org/documentation/install/beginners
Since you've already uploaded the code and you have your domain set up, you can probably skip down to the big labelled "Create the configuration file and grant permissions".
The first thing in this section is to create your settings.php file. Drupal won't work without this. You also need to set its file permissions to that Drupal's installer can update it.
My guess is that this is why you're getting the error. Follow the instructions on the page I linked you to above and you should be okay.
You'll also need to have a database ready for use by Drupal. The Drupal installer will populate the DB tables, but you need to at least have the empty DB ready for it to use.
Hope that helps.

FBConnect on Drupal not working?

I installed the fbconnect module: http://drupal.org/project/fbconnect
According to some advice I got from a post on Drupal: http://drupal.org/node/1060220#comment-4088290, i Should get the latest dev version from here: https://github.com/vectoroc/fbconnect
I got the latest version, and I still have problems. When you click on the FacebookConnect icon, it tells me:
fbconnect_autoconnect_form_submit has been called without valid facebook session. Check your Application Secret on fbconnect settings page
Keep in mind:
I am running Drupal of my local machine, so my connect URL is: http://localhost/deals/src/
I DID enter the correct Application ID
I DID enter the correct Application Secret
Anybody know why I am still getting this error? Is it even possible to specify your local machine as the connect URL?
Facebook must be able to identify you by your domain name / app id / key.
So if you want fbconnect to work on your local machine, you have to configure a dyndns entry that refers to your IP and associate it with your facebook app.
This may help : http://drupal.org/node/949248

Resources