{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":687254716,"defaultBranch":"main","name":"gCloud-Ghost-Updater","ownerLogin":"danielraffel","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-09-05T01:30:28.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/25807?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1693877429.0","currentOid":""},"activityList":{"items":[{"before":"9c5e3a350c557e1c9b12091919e790621717de33","after":"4566263bb08638b05da91632c36752253d48d41a","ref":"refs/heads/main","pushedAt":"2023-11-17T08:14:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\noopsie. the script should use sleep instead of wait. I found using wait is PID specific whereas sleep doesn't care.","shortMessageHtmlLink":"Update update.sh"}},{"before":"6dd2ba888d13988b1787b504b6e4452e335816d4","after":"9c5e3a350c557e1c9b12091919e790621717de33","ref":"refs/heads/main","pushedAt":"2023-11-13T20:20:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nadded\r\n\r\n1) when checking if VM is available nuke the ssh-keygen for new VM again...seems to cause issues for speedy mode\r\n\r\n # Once again, remove any existing SSH keys associated with the new IP address to prevent conflicts\r\n ssh-keygen -R $IP_ADDRESS_NEW_VM 2>/dev/null\r\n\r\n2) when updating make sure content folder is owned by ghost so updater doesn't fail - rare but what the heck\r\n\r\nsudo chown -R ghost:ghost ./content","shortMessageHtmlLink":"Update update.sh"}},{"before":"7ec252b7f7d14223b32ff00f482d5e6745f6e208","after":"6dd2ba888d13988b1787b504b6e4452e335816d4","ref":"refs/heads/main","pushedAt":"2023-10-17T18:53:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"often updates fail due to a permissions issue so this attempts to address that by adding:\nsudo find ./ ! -path \"./versions/*\" -type f -exec chmod 664 {} \\;","shortMessageHtmlLink":"often updates fail due to a permissions issue so this attempts to add…"}},{"before":"765a6090cfa979179f5ab105d711198ab2d6ad9c","after":"7ec252b7f7d14223b32ff00f482d5e6745f6e208","ref":"refs/heads/main","pushedAt":"2023-09-21T02:07:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"updated the wait time between system software update and reboot before trying to SSH and update ghost. added an argument called speedy that makes it easy to deploy on an upgraded VM to speed things along and then downgrade to an E2-micro","shortMessageHtmlLink":"updated the wait time between system software update and reboot befor…"}},{"before":"068658acc0263eb58c0fc9632cc7d07644e681cc","after":"765a6090cfa979179f5ab105d711198ab2d6ad9c","ref":"refs/heads/main","pushedAt":"2023-09-20T05:23:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"4e96f5d1480f142bc63e97d428b98d2a2796f085","after":"068658acc0263eb58c0fc9632cc7d07644e681cc","ref":"refs/heads/main","pushedAt":"2023-09-20T05:21:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nremoved commented out code","shortMessageHtmlLink":"Update update.sh"}},{"before":"a4ae2d6feef590e4ab44bf766790abccb40b4277","after":"4e96f5d1480f142bc63e97d428b98d2a2796f085","ref":"refs/heads/main","pushedAt":"2023-09-20T02:29:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"refactored into functions. now restarts the OS after system updates, added options to upgrade_vm and downgrade_vm to speed up upgrades by temporarily using a beefier VM only for updates and added debugging for version checks. should be more robust.","shortMessageHtmlLink":"refactored into functions. now restarts the OS after system updates, …"}},{"before":"162d368b3f97bb368ba2d4f4e9e39febb7a11f75","after":"a4ae2d6feef590e4ab44bf766790abccb40b4277","ref":"refs/heads/main","pushedAt":"2023-09-11T04:19:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nrefined the update flow\r\nnow re-enables snapd (which is disabled for memory when server is running)\r\nand catches other updates to snap and npm before updating ghost and disabling snapd again\r\n\r\n cd /var/www/ghost\r\n ghost stop\r\n sudo snap enable snapd\r\n sudo apt update && sudo apt -y upgrade\r\n sudo apt clean && sudo apt autoclean && sudo apt autoremove\r\n sudo npm install -g npm@latest\r\n sudo npm install -g ghost-cli@latest\r\n ghost update\r\n sudo snap disable snapd\r\n ghost start","shortMessageHtmlLink":"Update update.sh"}},{"before":"326b3e36e279ab02dce00aa192db88b03506d1f8","after":"162d368b3f97bb368ba2d4f4e9e39febb7a11f75","ref":"refs/heads/main","pushedAt":"2023-09-08T00:49:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"e06601754eb7e019764a6bfad6b63eae4a92d13f","after":"326b3e36e279ab02dce00aa192db88b03506d1f8","ref":"refs/heads/main","pushedAt":"2023-09-08T00:48:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"ebb5c1306057472cb071ef623291cdcdd3b2bcde","after":"e06601754eb7e019764a6bfad6b63eae4a92d13f","ref":"refs/heads/main","pushedAt":"2023-09-07T17:45:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"0085535e3e433a2a7e953a9be11c6d1c920d611b","after":"ebb5c1306057472cb071ef623291cdcdd3b2bcde","ref":"refs/heads/main","pushedAt":"2023-09-07T17:44:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"6c28325816677dddfcb993716212f4ddb2012e87","after":"0085535e3e433a2a7e953a9be11c6d1c920d611b","ref":"refs/heads/main","pushedAt":"2023-09-07T17:43:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"9a0587930d84acbe8705d9847d16f799c30d9624","after":"6c28325816677dddfcb993716212f4ddb2012e87","ref":"refs/heads/main","pushedAt":"2023-09-07T17:41:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"d60e840402ff21e3cfe05f362d5e65c3a31e4c7e","after":"9a0587930d84acbe8705d9847d16f799c30d9624","ref":"refs/heads/main","pushedAt":"2023-09-07T05:04:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"f49cbe05649163898c9217a817c9c248428f2404","after":"d60e840402ff21e3cfe05f362d5e65c3a31e4c7e","ref":"refs/heads/main","pushedAt":"2023-09-07T04:54:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"6cf5c77bb6fb393d61f6ac980e3907dfe4a50dad","after":"f49cbe05649163898c9217a817c9c248428f2404","ref":"refs/heads/main","pushedAt":"2023-09-07T04:38:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"d515f072177bcac89433ce3588a08a1a1cc68654","after":"6cf5c77bb6fb393d61f6ac980e3907dfe4a50dad","ref":"refs/heads/main","pushedAt":"2023-09-06T00:17:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nadded check for required client dependencies","shortMessageHtmlLink":"Update update.sh"}},{"before":"b0b11f6b3d849d23dcea055a6fdf02c945c1249d","after":"d515f072177bcac89433ce3588a08a1a1cc68654","ref":"refs/heads/main","pushedAt":"2023-09-05T20:58:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\noops! a line wasn't commented out. and, forgot to set new tier to standard.","shortMessageHtmlLink":"Update update.sh"}},{"before":"1bfa8593f2d327f7c9137101989b4a0fedeff607","after":"b0b11f6b3d849d23dcea055a6fdf02c945c1249d","ref":"refs/heads/main","pushedAt":"2023-09-05T19:02:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md\n\ngif of the updater kicking off","shortMessageHtmlLink":"Update README.md"}},{"before":"d0c2b4fece68d78ed805f7044ee2cd33cdff81eb","after":"1bfa8593f2d327f7c9137101989b4a0fedeff607","ref":"refs/heads/main","pushedAt":"2023-09-05T18:51:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nuncommented stopping the old VM and waiting for it to terminate before reassigning the IPs. this bit isn't tested yet but likely works.","shortMessageHtmlLink":"Update update.sh"}},{"before":"559ed4abbcc8d708def9e74d6c28916f193c61ca","after":"d0c2b4fece68d78ed805f7044ee2cd33cdff81eb","ref":"refs/heads/main","pushedAt":"2023-09-05T18:10:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update README.md\n\nclarified how it works and added link to blog post","shortMessageHtmlLink":"Update README.md"}},{"before":"b85478219eab56f6aad70e73043db2eabedac802","after":"559ed4abbcc8d708def9e74d6c28916f193c61ca","ref":"refs/heads/main","pushedAt":"2023-09-05T17:06:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nadded option to wait to stop old machine before removing IPs","shortMessageHtmlLink":"Update update.sh"}},{"before":"7131b7b4f00c0ad5520b67f5622012be1dccafd7","after":"b85478219eab56f6aad70e73043db2eabedac802","ref":"refs/heads/main","pushedAt":"2023-09-05T16:58:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nrealized I could get around the premium IP issue by simply stopping the micro instance and reassigning the IP. I don't really want to pay GCP $3/month for a premium static IP when they give me a free one.","shortMessageHtmlLink":"Update update.sh"}},{"before":"36fe60284b82fba69e66ad393fe78e00a1da0fe1","after":"7131b7b4f00c0ad5520b67f5622012be1dccafd7","ref":"refs/heads/main","pushedAt":"2023-09-05T16:43:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nadded a commented out option to manually enable stopping the old VM instance after the IP change.","shortMessageHtmlLink":"Update update.sh"}},{"before":"fd70bb0a3249768453d7ebe9c6b76aac0e82e1d3","after":"36fe60284b82fba69e66ad393fe78e00a1da0fe1","ref":"refs/heads/main","pushedAt":"2023-09-05T07:28:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh\n\nmodestly improved comments and added color to call out the IP change","shortMessageHtmlLink":"Update update.sh"}},{"before":"589146b58a025e2b3444465591e45a152cf73229","after":"fd70bb0a3249768453d7ebe9c6b76aac0e82e1d3","ref":"refs/heads/main","pushedAt":"2023-09-05T07:02:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Update update.sh","shortMessageHtmlLink":"Update update.sh"}},{"before":"ade885dcb3a00fb5b9a8486fb28b9a6cdee4e8d7","after":"589146b58a025e2b3444465591e45a152cf73229","ref":"refs/heads/main","pushedAt":"2023-09-05T07:01:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Create update.sh","shortMessageHtmlLink":"Create update.sh"}},{"before":null,"after":"ade885dcb3a00fb5b9a8486fb28b9a6cdee4e8d7","ref":"refs/heads/main","pushedAt":"2023-09-05T01:30:29.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"danielraffel","name":"daniel raffel","path":"/danielraffel","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25807?s=80&v=4"},"commit":{"message":"Initial commit","shortMessageHtmlLink":"Initial commit"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADsWGnBQA","startCursor":null,"endCursor":null}},"title":"Activity · danielraffel/gCloud-Ghost-Updater"}