Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade airbyte to 0.58.0 #108

Closed
Ishankoradia opened this issue Sep 29, 2024 · 7 comments
Closed

upgrade airbyte to 0.58.0 #108

Ishankoradia opened this issue Sep 29, 2024 · 7 comments

Comments

@Ishankoradia
Copy link

Topic

No response

Relevant information

No response

@Ishankoradia
Copy link
Author

Ishankoradia commented Sep 29, 2024

  • stop all pm2 processe
  • stopped airbyte using docker compose down
  • upated the version in run-ab-platform.sh to 0.58.0
  • ran ./run-ab-platform.sh -r and then ./run-ab-platforn.sh -d. This downloaded the new docker-compose.yaml and .env files
  • copied the correct database information in the new .env
  • copied the secrets persistence for gsm at two places in the new docker-compose.yaml in the server and worker service

@Ishankoradia
Copy link
Author

Ishankoradia commented Sep 29, 2024

  • Took backup of airbyte2
  • Taking backup of temporal, taking forever. Not sure if its my internet.

@Ishankoradia
Copy link
Author

Ishankoradia commented Sep 29, 2024

  • Took backup of temporal_visibility. This was very small, finished in seconds.
  • Table history_node is huge has around 3,10,000 rows in temporal db. Backup just finished

@Ishankoradia
Copy link
Author

Ishankoradia commented Sep 29, 2024

These set of variables in .env are new

STORAGE_TYPE=local
STORAGE_BUCKET_ACTIVITY_PAYLOAD=payload-storage
STORAGE_BUCKET_LOG=airbyte-dev-logs
STORAGE_BUCKET_STATE=state-storage
STORAGE_BUCKET_WORKLOAD_OUTPUT=state-storage

Kapa says its for logs, but i think we need our logs to be stored in docker volume. Going to check the airbyte on upgrade machine to see where are the logs stored

@Ishankoradia
Copy link
Author

Ishankoradia commented Sep 29, 2024

Looks like its in the docker volume only even in the airbyte58 ugprade machine.

started airbyte. looks alright. will start Dalgo now

Important: This command can only be run by one of the repository admins:
Usage: ./tools/bin/get_repo_admins.sh <personal_access_token>

@Ishankoradia
Copy link
Author

Ishankoradia commented Sep 29, 2024

updated the permission of tmp/workspace in airbyte-server, airbyte-worker, airbyte-cron

docker exec -u root -it airbyte-worker /bin/bash
chown -R airbyte:airbyte /tmp/workspace/

Important: This command can only be run by one of the repository admins:
Usage: ./tools/bin/get_repo_admins.sh <personal_access_token>

@Ishankoradia
Copy link
Author

Ishankoradia commented Sep 29, 2024

Tried a sync on prod and a dbt transform. Both worked.

Important: This command can only be run by one of the repository admins:
Usage: ./tools/bin/get_repo_admins.sh <personal_access_token>

@fatchat fatchat closed this as completed Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants