[WIP] treehouse-vagrant #27

Closed
fox wants to merge 62 commits from treehouse-vagrant into main

This is not ready for merging. I will likely and split/squash this branch later. Creating pull request for discussion.

This is not ready for merging. I will likely and split/squash this branch later. Creating pull request for discussion.
fox added 2 commits 2022-12-03 05:12:07 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
a003006ae5
WIP SETUP update
Poster
Owner

Running setup on a fresh Arch vm results in:

    default:   UserRole Load (0.6ms)  SELECT "user_roles".* FROM "user_roles" WHERE "user_roles"."name" = $1 LIMIT $2  [["name", "Owner"], ["LIMIT", 1]]
    default:   User Load (0.8ms)  SELECT "users"."id", "users"."email", "users"."created_at", "users"."updated_at", "users"."encrypted_password", "users"."reset_password_token", "users"."reset_password_sent_at", "users"."sign_in_count", "users"."current_sign_in_at", "users"."last_sign_in_at", "users"."admin", "users"."confirmation_token", "users"."confirmed_at", "users"."confirmation_sent_at", "users"."unconfirmed_email", "users"."locale", "users"."encrypted_otp_secret", "users"."encrypted_otp_secret_iv", "users"."encrypted_otp_secret_salt", "users"."consumed_timestep", "users"."otp_required_for_login", "users"."last_emailed_at", "users"."otp_backup_codes", "users"."account_id", "users"."disabled", "users"."moderator", "users"."invite_id", "users"."chosen_languages", "users"."created_by_application_id", "users"."approved", "users"."sign_in_token", "users"."sign_in_token_sent_at", "users"."webauthn_id", "users"."sign_up_ip", "users"."role_id" FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@localhost"], ["LIMIT", 1]]
    default:   TRANSACTION (0.4ms)  BEGIN
    default:   User Exists? (0.5ms)  SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "admin@localhost"], ["LIMIT", 1]]
    default:   TRANSACTION (0.7ms)  ROLLBACK
    default: rake aborted!
    default: Psych::BadAlias: Unknown alias: defaults
    default: bundler: failed to load command: rake (/vagrant/vendor/bundle/ruby/3.0.0/bin/rake)
    default: /usr/bin/bundle: undefined method `reject' for nil:NilClass (NoMethodError)
    default: /usr/bin/bundle: Unknown alias: defaults (Psych::BadAlias)
    default: /usr/bin/bundle: undefined method `require_invite_text' for Setting:Class (NoMethodError)

I'll start debugging postgresql next, in case the schema isn't being created properly.

Running setup on a fresh Arch vm results in: ``` default: UserRole Load (0.6ms) SELECT "user_roles".* FROM "user_roles" WHERE "user_roles"."name" = $1 LIMIT $2 [["name", "Owner"], ["LIMIT", 1]] default: User Load (0.8ms) SELECT "users"."id", "users"."email", "users"."created_at", "users"."updated_at", "users"."encrypted_password", "users"."reset_password_token", "users"."reset_password_sent_at", "users"."sign_in_count", "users"."current_sign_in_at", "users"."last_sign_in_at", "users"."admin", "users"."confirmation_token", "users"."confirmed_at", "users"."confirmation_sent_at", "users"."unconfirmed_email", "users"."locale", "users"."encrypted_otp_secret", "users"."encrypted_otp_secret_iv", "users"."encrypted_otp_secret_salt", "users"."consumed_timestep", "users"."otp_required_for_login", "users"."last_emailed_at", "users"."otp_backup_codes", "users"."account_id", "users"."disabled", "users"."moderator", "users"."invite_id", "users"."chosen_languages", "users"."created_by_application_id", "users"."approved", "users"."sign_in_token", "users"."sign_in_token_sent_at", "users"."webauthn_id", "users"."sign_up_ip", "users"."role_id" FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["email", "admin@localhost"], ["LIMIT", 1]] default: TRANSACTION (0.4ms) BEGIN default: User Exists? (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2 [["email", "admin@localhost"], ["LIMIT", 1]] default: TRANSACTION (0.7ms) ROLLBACK default: rake aborted! default: Psych::BadAlias: Unknown alias: defaults default: bundler: failed to load command: rake (/vagrant/vendor/bundle/ruby/3.0.0/bin/rake) default: /usr/bin/bundle: undefined method `reject' for nil:NilClass (NoMethodError) default: /usr/bin/bundle: Unknown alias: defaults (Psych::BadAlias) default: /usr/bin/bundle: undefined method `require_invite_text' for Setting:Class (NoMethodError) ``` I'll start debugging postgresql next, in case the schema isn't being created properly.
Poster
Owner

I switched to the kouhai/22-11-24-misc branch, and all SQL commands pass! Now there is a redis error afterwards (: but the initial Vagrant file and SETUP.md instructions work.

I switched to the `kouhai/22-11-24-misc` branch, and all SQL commands pass! Now there is a redis error afterwards (: but the initial Vagrant file and SETUP.md instructions work.
fox force-pushed treehouse-vagrant from a003006ae5 to d6445eb0be 2022-12-10 04:42:02 +00:00 Compare
Poster
Owner

I reset head and broke WIP merge. The branch mostly works, but now need to debug Webpacker::Manifest::MissingEntryError in Home#index.

I reset head and broke WIP merge. The branch mostly works, but now need to debug `Webpacker::Manifest::MissingEntryError in Home#index`.
fox closed this pull request 2022-12-10 04:44:16 +00:00
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful

Pull request closed

Sign in to join this conversation.
There is no content yet.