Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

15 total results found

How to use Vaultwarden

Web Open vaultwarden on the web via this link: Vaultwarden. Extension If connecting via chrome extension make sure to enter the domain https://vault.sigbit.app as the server. 

Connecting to our linode instance

In Vaultwarden you can find the SSH connection key to the linode server 172.232.146.154. Use a terminal and enter ssh root@172.232.146.154, then enter the password.

Show server statistics like CPU, RAM and Docker container usage

Statistics Server Show server statistics htop Docker Show running Docker containers docker ps Show all containers (stopped and running) docker ps -a Docker container CPU usage ctop: https://github.com/bcicen/ctop docker run --rm -ti \ --name=ctop...

Error installing ruby version on M1 Mac

OpenSSL Usually, the errors regarding installing ruby on an M1 mac is OpenSSL related. Here are some common errors and fixes. Error:  Error running '__rvm_make -j8', Fix:  1. Check OpenSSL path with  brew --prefix openssl 2. Then run this command to ins...

Sync production database to local

Example with the holmen-quiz app Proceed from in your project folder. Fly app name: holmen-quizFly database app name: holmen-quiz-dbLocal database name: holmen_quiz_backend_2022_development 1. Preparation Start proxy: fly proxy 15432:5432 -a holmen-quiz-d...

Restore local .sql dump to Hatchbox

Restore .sql dump to Hatchbox Add your SSH public key in the Hatchbox web GUI if you have not. HWGUI: Hatchbox web GUI ~/.ssh/config example Host * AddKeysToAgent yes IdentityFile ~/.ssh/id_ed25519 Start SSH proxy Find SSH host in HWGUI on your...

Caddy

Introduction Caddy is running with a resumed configuration. The --resume flag means Caddy is using the last known good configuration, which is stored internally as a JSON object. This configuration is auto-saved when Caddy is running and can be reused on rest...

Dump database to .sql

1. Preparation Start proxy: ssh -L 15432:localhost:5432 deploy@16.171.240.56 2. Dump Find Private Connection URI on your database in Hatchbox GUI. Copy username, password and database into your local terminal and run: pg_dump postgresql://<username>:<pass...

Sync Heroku to Hatchbox database

Please refer to this tutorial first: https://wiki.sigbit.app/books/hatchbox/page/restore-local-sql-dump-to-hatchbox 1. Download file from Heroku If you need to download the database from heroku, do this: heroku pg:backups:capture --app example-app hero...

Increase disk storage of EC2 instance

Tutorial Links Amazon Docs Make sure to take a snapshot of the volume beforehand for safety: How to snapshot AWS Step 1 - Check file system df -hT Step 2 - Find partition  lsblk Step 3 - Extend disk Check which disk and which partition to extend. ...

Hatchbox - Sync CMS Database

This page explains how to sync the database from one hatchbox server to another. In this example, we're syncing the prod database with the staging database. Note: This will not sync the S3 bucket storing all images. To do that please follow this tutorial. Sc...

Sync S3 buckets

How to sync one bucket to another: https://repost.aws/knowledge-center/move-objects-s3-bucket In my experience the size of the CMS S3 bucket is >10GB which will take ~22m @ 10mbit/s. 

How to use params and searchParams in Nextjs 13

There are 3 different variants of params params (/blog/1) single params multiple params searchParams (/blog?postId=123) single search params multiple search params Both params and searchParams (/blog/1?postId=123) There are multiple w...

Troubleshooting "pg_restore: error: unsupported version (1.15) in file header"

When attempting to restore a PostgreSQL database using pg_restore, you might encounter the error: "pg_restore: error: unsupported version (1.15) in file header". This typically indicates a version mismatch between the pg_dump used to create the backup and the ...

Set up Prometheus and connect linode servers together

Go to Linode, open VPC, create a new VPC and add all nodes that you want, restart nodes, then continue this tutorial. This makes sure that all nodes are on the same subnet network. Download node_exporter wget https://github.com/prometheus/node_exporter/relea...