Blog

/blog/

  • 2014-09-30

    Cool Trick of the Day

    Let’s say you set up a site with some apps, but at the wrong hostname. That just happened to me. I meant to call the hostname selfoss-test, but accidentally I called it test-selfoss.

    This is what I did to correct the situation (all on one line):

    % sudo ubos-admin showsite --host test-selfoss --json \
        | sed -e 's/test-selfoss/selfoss-test/' \
        | sudo ubos-admin deploy --stdin
    

    In English: Take the Site JSON of the site currently at hostname test-selfoss, replace test-selfoss with selfoss-test, and deploy. Note that because we did not change the site id or the appconfig ids, all the data was preserved.

  • 2014-09-26

    Package Signature Issues

    Update Sept 27, 2014, early morning: this issue has been resolved. The dev and red channels have been updated, and new images have been created.

    The red channel is currently moving towards requiring package signatures from the UBOS buildmaster before packages can be installed. There are some teething issues. If you run into them, temporarily disable package signature checking by editing /etc/pacman.conf, and changing the signature settings to optional:

    FileSigLevel = Optional
    LocalFileSigLevel = Optional
    RemoteFileSigLevel = Optional