Latest posts

Browse topics

International Scout Centre Rustavi

The industrial town of Rustavi, approximately 25 km southeast of the Georgian capital Tbilisi, offers a modern international scouting center.

The youth center offers space for a variety of indoor and outdoor activities. The facility is available for children and young people from Rustavi and offers comfortable and reasonably priced accommodation, seminar, and conference facilities for regional and international youth groups, schools, universities, and non-governmental organizations, as well as tourists and individual travelers.

International scout center in Rustavi, Georgia

I first visited this place at the end of May 2022, during an event organized by Latvian Sunday School in Tbilisi.

Should I say I was really impressed after seeing it? Now, I have seen such places all over the world, but was really surprised seeing such high level center in Georgia. Really cool!

Rustavi scout center

Since its opening in 2013 the centre has hosted special events such as training courses, seminars, planning weekends, etc.; annually the centre is used by around 1200 people, with approximately 6500 overnight occupancies.

The International Scout Centre Rustavi (ISCR) is a project of the The Caucasus Cooperation Foundation for Youth Development CCFYD.

Learn more at: iscr.ge

How to Fix "Unable to install bootstrap, bootstrap.settings already exists in active configuration"

As this was already the second time i faced the "Unable to install bootstrap, bootstrap.settings already exists in active configuration." problem i decided to share a quick and simple solution.

Background: I have faced this error when performing the Drupal 7 upgrade to the Drupal 9 version and trying to enable the bootstrap theme. 

solution: in PHPMyAdmin open the database your Drupal site is running, in the Search tab enter "bootstrap"

Drupal PHP My Admin database

Notes from Tbilisi: Caru.ge services our Car, new expats join language courses, PCR test

The morning started with the kiddo having a little fever (temperature 37 C). Decided to leave her at home and observe, as this Friday we have our first school concert. It would be very sad to miss. Sent a message to Ms. Nino.

Yesterday - the car just stopped working, or won't crank. Already for the third time, this year ordered caru.ge to service the car. As the car was parked in Vake I went to the office in the morning to meet the service guy in the afternoon. Traded a bit of bitcoin futures. Packed out robot cleaner for cleaning our apt.

Met with the caru.ge guy, he said, the problem is with the starter, had to order evacuator. I left the spot and come home. 

Touareg towed in Tbilisi

We received a letter from the school that there have been positive covid cases among teachers and pupils, we ordered PCR test to see, does the kiddo has got Covid or not. We already had at the start of February after returning from Bakuriani.

Caru. ge informed that the problem is with fuel pumps (VW Touareg has 2 of them) the total cost for replacement and work GEL 1,400. Sh*t 

Our language courses for ex-pats in Georgia are gaining momentum, got another applicant. Awesome. 

PCR test result - negative. Hopefully we will be good for Friday's concert!

How To Upgrade Drupal 7 to 9 (With Multilingual Support)

In this article, I will keep notes on how I upgraded the multilingual Drupal 7 site to a multilingual Drupal 9 site.

Turns out I had originally built this website on Drupal 7 more than 10 years ago and it already felt that the exciting website's look and feel is a bit outdated and we wanted to get a fresh look.

I thought it wouldn't do any harm upgrading the database too. As I have already done a few successful upgrades in the past and as the website was not very complicated I didn't spend a lot of time on this.

As I'm using Linode VPS I decide to go the migrate path, and started with creating a new subdomain on the webserver giving it a prefix d9

As I already had configured the server I will walk through the most essential parts only in this article, for configuring a server from scratch, see this article: How to Install Drupal with Nginx, PHP-FPM 7.4, MySQL, phpMyAdmin on Ubuntu 20.04 - Linode Guide

Configure the VirtualHost for Drupal

We will install Drupal 9 in the directory "/srv/www/d9.caucasustranslations.com". Please replace my domain name in your installation with the domain name of the website that you want to use this Drupal installation for. So let's create the directory:

sudo mkdir -p /srv/www/d9.caucasustranslations.com/{public_html,logs}
sudo usermod -a -G www-data admin
sudo chown -R www-data:www-data /srv/www
sudo chmod -R 775 /srv/www
sudo nano /etc/nginx/sites-available/d9.caucasustranslations.com

Paste the Nginx configuration for Drupal 9:

server {
    server_name d9.caucasustranslations.com;
    root /srv/www/d9.caucasustranslations.com/public_html; ## <-- Your only path $
    access_log /srv/www/d9.caucasustranslations.com/logs/access.log;
    error_log /srv/www/d9.caucasustranslations.com/logs/error.log;

    listen 80;
    listen [::]:80;


    location = /favicon.ico {
        log_not_found off;
        access_log off;
    }

    location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
    }

    # Very rarely should these ever be accessed outside of your lan
    location ~* \.(txt|log)$ {
        allow 192.168.0.0/16;
        deny all;
    }

    location ~ \..*/.*\.php$ {
        return 403;
    }

    location ~ ^/sites/.*/private/ {
        return 403;
    }

    # Block access to "hidden" files and directories whose names begin with a
    # period. This includes directories used by version control systems such
    # as Subversion or Git to store control files.
    location ~ (^|/)\. {
        return 403;
    }

    location / {
        # try_files $uri @rewrite; # For Drupal <= 6
        try_files $uri /index.php?$query_string; # For Drupal >= 7
    }

    location @rewrite {
        rewrite ^/(.*)$ /index.php?q=$1;
    }

    # In Drupal 8, we must also match new paths where the '.php' appears in the middle,
    # such as update.php/selection. The rule we use is strict, and only allows this pattern
    # with the update.php front controller.  This allows legacy path aliases in the form of
    # blog/index.php/legacy-path to continue to route to Drupal nodes. If you do not have
    # any paths like that, then you might prefer to use a laxer rule, such as:
    #   location ~ \.php(/|$) {
    # The laxer rule will continue to work if Drupal uses this new URL pattern with front
    # controllers other than update.php in a future release.
    location ~ '\.php$|^/update.php' {
        fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
        #NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
        include fastcgi_params;
        include snippets/fastcgi-php.conf;
        fastcgi_param SCRIPT_FILENAME $request_filename;
        fastcgi_intercept_errors on;
        fastcgi_pass unix:/run/php/php7.4-fpm.sock;
    }

    # Fighting with Styles? This little gem is amazing.
    # location ~ ^/sites/.*/files/imagecache/ { # For Drupal <= 6
    location ~ ^/sites/.*/files/styles/ { # For Drpal >= 7
        try_files $uri @rewrite;
    }

    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
        expires max;
        log_not_found off;
    }
}

CTRL+O and CTRL + X

The Drupal virtual host file has been created, now we have to activate it by creating a symlink to the file in the "sites-enabled" directory:

ln -s /etc/nginx/sites-available/d9.caucasustranslations.com /etc/nginx/sites-enabled/

Test the Nginx configuration and if there are no errors restart Nginx:

nginx -t
systemctl restart nginx

Additonaly make sure you have enabled your subdomain via DNS zones (in my case I configured them on Linode, it took some time to get zones activated, to speed it up you could use virtual hosts on Windows)

Install and Configure Drupal

Enter the directory that we created earlier and download Drupal with wget.

I'm using the latest Drupal 9.3.12. release as of May 8, 2022, make sure you are downloading the latest version by visiting the Drupal download page and writing down the last numbers (version)

cd /srv/www/d9.caucasustranslations.com
sudo wget https://ftp.drupal.org/files/projects/drupal-9.3.12.tar.gz
sudo tar -xvzf drupal-9.3.12.tar.gz
sudo cp drupal-9.3.12/* public_html/ -R
sudo chown www-data:www-data public_html -R

Now visit your Drupal site in the web browser, you should see the following screen

Next from the phpmyadmin create a new database and you should be good to launch the Drupal 9 website

Install Drupal 9 screen

During the installation process I opted to install a minimal version as I love to take full control of settings enabled, but feel free to choose a standard configuration profile.

Now, let's see how to perform an actual site and content upgrade

Make sure these modules are enabled on your Drupal 9 site: "Migrate," "Migrate Drupal," and "Migrate Drupal UI." A quick note, in Drupal 9, modules are renamed to Extend, though the path still is the same - /admin/modules

For migrating multilingual content from Drupal 7 (i18n) enable Migrate Drupal Multilingual

Definitions

Old site
The site you want to upgrade.
New site
This empty Drupal 9 installation you will import the old site to.

Preparation steps

  1. Make sure that access to the database for the old site is available from this new site.
  2. If the old site has private files, a copy of its files directory must also be accessible on the host of this new site.
  3. Enable all modules on this new site that are enabled on the old site. For example, if the old site uses the Book module, then enable the Book module on this new site so that the existing data can be imported to it.
  4. Do not add any content to the new site before upgrading. Any existing content is likely to be overwritten by the upgrade process. See the upgrade preparation guide.
  5. Put this site into maintenance mode.

The upgrade can take some time. It is better to upgrade from a local copy of your site instead of directly from your live site.

Dashbashi Canyon & Waterfall with 240 meter long Glass Bridge

If there is a reason to visit Dashbasi canyons near the Tsalka in Georgia - the canyons themselves, cascading waterfall and the glass bridge hanging over the gorge should raise some interest.

Dashbashi Canyon Natural Monument is part of Khrami (known as Ktsia at it source) gorge near Dashbashi village, 3 km from the town of Tsalka

I first heard about this place a couple of years ago from an ex-pat friend, back then the place was pretty much not developed and unknown to the broader masses.

We first visited Dashabshi Canyon in 2020, back then it was still a pretty much-underdeveloped area, but some touristic routes were built. Back then we didn't climb down to the cascading waterfalls, but instead, I made some nice drone videography from the nearby restaurant (Restaurant Pepo near Dashbashi Canyon).

See: My First Drone Video / DJI MAVIC MINI

Now, we returned here again at the end of April 2022 and huge improvements are made. There is a good asphalt road, a visitor center, and plenty of tourists. Entrance fee (Gel 19, as of 2021)

@40 meters long glass bridge over Dashbashi Canyon in Georgia

I didn't try to cross the glass bridge over the canyon, instead, I got my adrenaline rush from flying the drone over. Here I made a short documentary from our trip to Tsalka and Dashbashi canyon

After a brick climb down into the canyon, we finally reached the waterfall

Dashbashi waterfall

Beautiful, cascading waterfall

Dashbashi Canyon is known for it astounding cascading waterfalls, that provide chill in the summer. Dashbashi Waterfall takes exotic emerald color and forms dozens of frozen waterfalls in the winter. In waterfall vicinity it is also warmer in the winter than in nearby Tsalka and Dashbashi village. 

viewing platform at Dashbashi canyon

Dashbashi canyon is beautiful, easy to reach and must have tourist attraction while in Georgia. Highly recommended.