fix(docs): corrected errors in installation instructions #2087
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes issue #2086
Motivation
Due to errors or outdated information in the Farcaster Hub installation guides, the Hub cannot be synchronized due to lack of memory which will prevent it from starting and working correctly. This error is very important because it creates difficulties for new users at the very initial stage of work and familiarization with Farcaster Hub
Change Summary
Changes have been made regarding the minimum amount of memory required for Farcaster Hub to work correctly. The old value is 60 GB in the GCP installation guide and 140 GB is the old value in the main installation guide. Farcaster Hub currently takes up about 150 GB. The old memory values have been changed to 160 GB, which allows you to run the Hub and have a reserve of correct operation for a period of time
Merge Checklist
Choose all relevant options below by adding an
x
now or at any time before submitting for reviewAdditional Context
According to the GCP guide we create a virtual server and set the server parameters via Google Cloud Console by copying the data from the guide into the created file "main.tf"
![1 screenshot](https://private-user-images.githubusercontent.com/80642652/342105323-ae6bbd6e-a3ee-4129-978d-896d932d8c35.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjQwNjMsIm5iZiI6MTczOTU2Mzc2MywicGF0aCI6Ii84MDY0MjY1Mi8zNDIxMDUzMjMtYWU2YmJkNmUtYTNlZS00MTI5LTk3OGQtODk2ZDkzMmQ4YzM1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIwMDkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4NTk3ODdmYTVhNWQ0MzlmYmMxOTFkOGIyNzgwZTk5M2E4MThjMTIxMWY3MTljOTdlOTA5OWI0MWJhMThkOGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lm3nrJIJbOwahbQi3fUX3KWow2Ew4mI0zRL71MdWTFo)
The virtual server has been configured with these memory settings
![2 screenshot](https://private-user-images.githubusercontent.com/80642652/342105340-ae81634a-d66f-436f-a107-5417f26cf4b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjQwNjMsIm5iZiI6MTczOTU2Mzc2MywicGF0aCI6Ii84MDY0MjY1Mi8zNDIxMDUzNDAtYWU4MTYzNGEtZDY2Zi00MzZmLWExMDctNTQxN2YyNmNmNGI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIwMDkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2OWNhZDI1ZjJjZjQxOTE3NTUzMzIwOTYyNDNlMGZiYWM4OTRlZGE2NGNhMGM0ZWI1NGNlZjI0ODRiZmNjYTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.86bbJ_dmcRWyrhBpiM_9e94UcrvmWKO6TmG34cFNyQM)
Then after running the script specified in the main installation guide on the created server Hub starts synchronization, but after a while it stops with the error "code 2".
![3 screenshot](https://private-user-images.githubusercontent.com/80642652/342105347-3696c741-1234-4834-8218-ed71c179e1af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjQwNjMsIm5iZiI6MTczOTU2Mzc2MywicGF0aCI6Ii84MDY0MjY1Mi8zNDIxMDUzNDctMzY5NmM3NDEtMTIzNC00ODM0LTgyMTgtZWQ3MWMxNzllMWFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIwMDkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5ZjlmODRiMTlmZGFlMTRkYzY2YTJjNjFmYTAxMWY3NWE3ZWE4MDM2ZDJjNWNiMzQ2ZDBlNmIwMDc4N2I0MmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xebi62cLSukkH1EOSASOyWiQ3rox9nUp9pn8Y02PWrY)
This error means that Hub cannot continue synchronization due to lack of memory
![4 screenshot](https://private-user-images.githubusercontent.com/80642652/342105352-57aa5e65-b419-4385-ba5c-ca678c4bb60a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjQwNjMsIm5iZiI6MTczOTU2Mzc2MywicGF0aCI6Ii84MDY0MjY1Mi8zNDIxMDUzNTItNTdhYTVlNjUtYjQxOS00Mzg1LWJhNWMtY2E2NzhjNGJiNjBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIwMDkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ4ZTA0OWU5MTFkMmE3NTAyMTcxM2ZhN2ExYTdhMDM3ZjRhN2U5NzgwZjI3ZjA3ZjAzMjQyNzFlYjhmNWViZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.XSeP8MOizibXp_WsVCUZ3ql_mrwSON_t4T4mL-Pybms)
Warpcast: @vsu
PR-Codex overview
This PR increases the disk size for the Ubuntu 20.04 LTS image in the GCP tutorial and adjusts the storage requirement to 160 GB in the installation guide.
Detailed summary