Latest posts

Browse topics

Notes from Tbilisi: Abandoned Military sites in Latvia / Estonia; Sold VW Touareg car; #2 Bitcoin newsletter

Good afternoon from sunny and hot Tbilisi. The weather was scorching today, reaching +32 Celsius.

Tbilisi weather in June

The morning started with an interesting message to the blog's contact form - an Estonian person was asking some questions about military sites in Latvia, we exchanged a few e-mails and talked both about Latvian and Estonian abandoned military sites.


Information about former Latvian radar base Skrunda-1

Hello, Reinis

I read your post about Skrunda-1 and also did some internet ''research''. And I've come to a couple of questions.
When did You visit this place? And was it closed? Because I read that it is now closed for tourists and the Latvian army has closed the area. Could You please tell if this is true?
I am asking because I'm planning a trip in Latvia's abandoned military places/bases.

Any information that You could share would come in handy for me.

I was pretty much intrigued and shout out the best I knew both about Skrunda-1 and other interesting sites in Latvia

Good morning! At least morning is here in Tbilisi!

Are you from Estonia?

Skrunda - 1.. I visited it back in 2015 if I remember it right, I have heard that the place now is closed for tourists as the Latvian army is using it as the training center or something.

From other cool places in Kurzeme, I think the Irbene radio locator near Ventspils is awesome (but I haven't been there), and also the Zeltini rocket launcher site in Aluksne county.

https://www.latvia.travel/en/news/lets-go-tour-irbene-locator
https://visitaluksne.lv/en/visit/padomju-armijas-rakesu-baze-zeltinos/

From other Soviet attractions in Kurzeme, I think they have this prison in Liepaja
https://karostascietums.lv/en/

And Karosta itself is pretty interesting - looks pretty much like Skrunda-1 and they have an epic Russian cathedral near the sea
https://www.reinisfischer.com/st-nicholas-naval-cathedral-karosta-liepaja
Also the Northern Forts of Liepaja

If you happen to come to Georgia, there are a few interesting objects as well, very interesting is the Big Shiraki airfield in the Georgian steppe used in the Soviet-Afghan war
https://www.reinisfischer.com/big-shiraki-abandoned-soviet-airfield-georgia

Let me know if that helps

And soon I got back a reply with a few interesting sites to visit on the Estonian side.

Near Valga there is/was Soviet rocket base (Vilaski), but some part of it - soldiers barracks - is a private property and some buildings are still standing but time and nature have done its job.

Otepää is beautiful, there is an adventure park for kids and adults.
Tartu science center  (Ahhaa centre) is worth visiting, too. There are different exhibitions from time to time and science shows for everybody who is interested.

If you have more time, then in Haanja locates the highest peak of Balticum and Estonia - Suur Munamägi (I'm not sure, how it translates to english, the big egg-hill), theres a viewing tower and the whole lenght with the hill and tower is 318meters.

Northeast of Estonia, in Sillamäe and Kohtla-Järve, locates  a mining museum, also from Soviet time, but its renovated and you can go underground to the mining tunnels and so on. But if I remember correctly, it is a guided tour.

People many times wonder how do I meet so many interesting people all around the World? That's how -  with the help of a blog.

After emailing my Estonian acquaintance we took our kiddo to QSI school and then we went to Rustavi to sell our VW Tourageg car to the Latvian acquaintance I met a few months ago here in Tbilisi. Sold the car for $3,500. We originally bought it at $4,500 some 4 years ago, so I think a good deal. Very reliable car and I hope will suit the new owner for good.

Of course, now it feels a bit sad. Looking to buy some newer model of Mercedes Benz ML - series, or better Toyota Land Cruiser or Lexus. Budget $6,000 - $10,000

Rustavi Auto Market (Buying a Car in Georgia)

In the evening / afternoon sent out second paid bitcoin newsletter! Maybe in a year I will become a bitcoin millionaire? 

Life is good!

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.