Posts

CloudLog gives ‘Access denied’

Checking to web server logs reveals:

Got error 'Access to the script '/var/www/XXX/web/logbook' has been denied (see security.limit_extensions)'

The URL of the logbook showed https://DOMAIN/index.php/logbook

Solution

Add the following to php.ini for the site:

cgi.fix_pathinfo=1

Connect ham radio rig to Cloudlog (Windows)

By connecting your amateur radio rig using a CAT/CI-V interface to Cloudlog you save a lot of work by getting frequency, mode etc directly from the rig into Cloudlog. This is how you do it using a Windows computer. The computer must be located where the radio is as it will be physically connected via the CAT/CI-V interface to the readio. Cloudlog is normally run on a web server on the Internet, i.e. not necessarily on the computer by the radio (hence the name, Cloudlog ;).

This is a very nice setup if you are running your station remotely. When logging into Cloudlog from a computer on your remote location, you can still get realtime frequency, mode etc from the radio into Cloudlog.

  1. In Cloudlog, click on your callsign (at right in the menu) and go to API keys. Create a new API key and copy it.
  2. Go to OmniRig, download it and install it
  3. Go to CloudLogCAT, find the latest release, download it and install it
  4. Run CloudLogCAT and go to Settings -> CloudLog. Enter your Cloudlog website URL and API key from step 1 above. Click Save.
  5. Go to Settings -> OmniRig. OmniRig window will now open. Select your radio, com port and speed. Save by clicking OK.
    OmniRig settings

If all worked well, frequency, mode etc will be syncing to Cloudlog.
CloudLogCAT syncing to Cloudlog

In Cloudlog, you can click on your callsign (at right) and select Hardware Interfaces. After a couple of seconds your OmniRig connection should show up.
Cloudlog Hardware Interfaces

You can now select this radio under Station / Radio when logging QSO:s.

Recover forgotten password to Cloudlog

I lost my password to my Cloudlog and there is no “forgotten password” built in. I did not succeed by setting $config[‘use_auth’] = false so this is how I did it.

  1. In the root directory of your Cloudlog installation, create a file called pw.php with the following content (edit the $password variable to the password you want in clear text):

    <?php
    $password = 'cleartextpasswordhere';
    echo password_hash($password, PASSWORD_DEFAULT);

  2. If you don’t have the database password, get it by looking in the file application/config/database.php
  3. Access your database using phpMyAdmin using the database credentials in the previous step
  4. Go to the users table and click edit on the row with your username
  5. Use a web browser and go to http://<your cloudlog url>/pw.php and select and copy the displayed password hash.
  6. In the user_password field, paste the password hash from step 5 and click Go to save
  7. Remove the file pw.php from your cloudlog webroot

You can now log in using the new password.