Linux

Reading Samsung Exfat K-Ubuntu 19.10

When trying to read any exfat formatted SD card it suddenly was not recognised by my system, so I tried to upgrade from Kubuntu 18.10 to 19.10, and it didn't help. Then I found a post about that Exfat is not supported by the kernel before version 5.4, but Kubuntu 19.10 is shipped with 5.3, but the packages exfat-fuse and exfat-utils should take care of it, but they were already installed and did not work apparently. And also my kernel is 5.0.x for some reason (5.0.0-36-generic).

Composer tips and tricks

Composer without root

Run this in ~/composer: curl -sS https://getcomposer.org/installer | php

Put this in .bashrc: alias composer="php ~/composer/composer.phar"

Install Drupal 8 With Composer In Custom Web Folder

composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction --no-install
Adjust web folder in composer.json file and then run "composer install".

Check available versions of a package

composer show package_name --available

Fixing HTTPRL Core Drupal Network Configuratoin Error

You see something like this: Your system or network configuration does not allow Drupal to access web pages. This could be due to your webserver configuration or PHP settings.
HTTPRL - Core drupal_http_request()
You then go into your httprl config: /admin/config/development/httprl

And set the field "IP Address to send all self server requests to" to -1

Fix mailR java issues

You might have a couple of issues with mailR when running on a server.

When installing or after installing the r package: rJava you might encounter the following: libjvm.so: cannot open shared object file: No such file or directory

I fixed this on a ubuntu server with this command: sudo R CMD javareconf