The authentication with Bitbucket has failed. Please check your OAuth settings. — January 22, 2019

The authentication with Bitbucket has failed. Please check your OAuth settings.

While integrating Bitbucket cloud with JIRA server on local I got this error.

The authentication with Bitbucket has failed. Please check your OAuth settings.

This link saved my life. Error is related to the current local time.
https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-ubuntu-16-04

Advertisements
PHP: Only variables should be passed by reference — January 7, 2019
php strip_tags() not removing from string —
nginx ubuntu add rule for php but only to one directory — December 20, 2018

nginx ubuntu add rule for php but only to one directory

location ~ /anyDirectory/.*\.php$ {
    root        /www/anyDirectory;
    fastcgi_pass unix:/var/run/php5-fpm.sock;
	fastcgi_index  index.php;
	fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
	include        fastcgi_params;

}

This is just an example. ‘fastcgi‘ settings can be different for your server. Added this so that you can get some idea.

location ~ /anyDirectory/.*\.php$ {}

This post saved my life.

Mongoose print last query — December 17, 2018
wordpress apache permalinks not found — December 7, 2018

wordpress apache permalinks not found

there can be several reasons. For me it was the ‘mod_rewrite’. Permalinks will not work if this mode is disabled in apache because in .htaccess file created by wordpress , there is a check added. No rule will be applied if ‘mod_rewrite’ is disabled.

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress

on Ubunutu 16.04 you can enable it like this

sudo a2enmod rewrite
sudo service apache2 restart
Ubuntu Add SWAP memory — December 3, 2018