Tech Areas

All Posts

Bundle

Error during bundle install: “The –deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying.” Solution: Remove BUNDLE_FROZEN: “true” from .bundle/config file…

Bundle install

Error: [!] There was an error parsing `Gemfile`: syntax error, unexpected string literal, expecting `do’ or ‘{‘ or ‘(‘ – gem ‘addressable’, ‘2.2.6’     ^ /home/ots/onetimesecret/Gemfile:7: syntax error, unexpected ‘,’,…

Bundle install gets killed

It’s because you are running out of memory. Try adding more swap: www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04. Or bump up to a bigger droplet. Ref: www.digitalocean.com/community/questions/bundle-install-gets-killed

Check and fix Github SSH access

*Check access to Github* You should verify your connection by typing: |$ ssh -T git@github.com > Hi USERNAME! You’ve successfully authenticated…| Ref: docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey?platform=linux *Generating a new SSH key and adding…

Initial Server Setup (Ubuntu)

Initial Server Setup with Ubuntu 20.04 Ref: www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04 How To Install and Use Docker on Ubuntu 20.04 Ref: www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 How To Install and Use Docker Compose on Ubuntu 20.04 Ref:…

Invalid signatures

Err:1 download.opensuse.org/repositories/isv:/ownCloud:/server:/10/Ubuntu_18.04 InRelease The following signatures were invalid: … FULL ERROR TEXT: Err:1 download.opensuse.org/repositories/isv:/ownCloud:/server:/10/Ubuntu_18.04 InRelease The following signatures were invalid: EXPKEYSIG 2345JHGFD234R5T isv:ownCloud OBS Project Fetched 254 kB in 1s…

Mattermost Links

Mattermost services ports docs.mattermost.com/getting-started/architecture-overview.html Configuration settings docs.mattermost.com/configure/configuration-settings.html MySQL installation troubleshooting docs.mattermost.com/install/trouble_mysql.html Troubleshooting Mattermost issues docs.mattermost.com/install/troubleshooting.html Deploy Mattermost docs.mattermost.com/guides/deployment.html docs.mattermost.com/install/installing-ubuntu-2004-LTS.html Configure Mattermost server docs.mattermost.com/install/installing-ubuntu-1804-LTS.html#install-ubuntu-server-18-04-lts www.focalboard.com/download/mattermost/ Postgresql connection problem solution (part 2)…

NESK

*Innehållseditering på KBT:s Träffa Oss-sida (om-oss-kbt/traffa-oss): * 1. Editera sida 2. Byt sidmall till Startsida 3. Editera sidtext 4. Byt tillbaka till sidmall Personallistning

Open ports

www.digitalocean.com/community/questions/how-do-i-open-ports-on-an-ubuntu-server www.cyberciti.biz/faq/ufw-allow-incoming-ssh-connections-from-a-specific-ip-address-subnet-on-ubuntu-debian/ Initial Server Setup with Ubuntu 20.04 www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-20-04 Install PostgreSQL on Ubuntu 20.04 www.digitalocean.com/community/tutorials/how-to-install-postgresql-on-ubuntu-20-04-quickstart Find files via CLI vitux.com/how-to-find-files-on-the-ubuntu-command-line

Passbolt Setup

1. Create the droplet in Digital Ocean Ref: www.passbolt.com/docs/hosting/install/ce/digital-ocean/ 2. Setup DNS in nameserver 3. Configure passbolt in CLI Ref: www.passbolt.com/docs/hosting/install/ce/ubuntu/ 4. Configure passbolt in browser Ref: www.passbolt.com/docs/hosting/install/ce/digital-ocean/ Ref: www.passbolt.com/docs/hosting/install/ce/ubuntu/…

PHPMailer

Links: www.cloudways.com/blog/send-emails-in-php-using-phpmailer/ www.wikihow.com/Install-PHPMailer github.com/PHPMailer/PHPMailer github.com/PHPMailer/PHPMailer/blob/master/README.md help.dreamhost.com/hc/en-us/articles/360031174411-PHPMailer-Installing-on-a-shared-server Encoding (lang): stackoverflow.com/questions/374425/convert-utf8-characters-to-iso-88591-and-back-in-php www.php.net/manual/en/function.mb-convert-encoding.php

Upgrade Docker Compose

compose_version=$(curl api.github.com/repos/docker/compose/releases/latest | jq .name -r) output=’/usr/local/bin/docker-compose’ curl -L github.com/docker/compose/releases/download/$compose_version/docker-compose-$(uname -s)-$(uname -m) -o $output chmod +x $output echo $(docker-compose –version) stackoverflow.com/questions/49839028/how-to-upgrade-docker-compose-to-latest-version

Yopass

*Installation / Configuration* _Docker Compose_ Use the Docker Compose file deploy/with-nginx-and-letsencrypt/docker-compose.yml to set up a yopass instance with TLS transport encryption and certificate auto renewal using Let’s Encrypt. First point…

No Faq Found