thilles
thilles
TTwenty
Created by marie on 7/16/2024 in #🏡︱general
v0.22 upgrade warnings
No description
36 replies
TTwenty
Created by marie on 7/16/2024 in #🏡︱general
v0.22 upgrade warnings
syncStage enum seems to be default FULL_MESSAGE_LIST_FETCH_PENDING
-- Generated by the database client.
CREATE TABLE workspace_29p7xdle6v00po764fzkgp6i3."messageChannel"(
id uuid NOT NULL DEFAULT public.uuid_generate_v4(),
...
"syncStage" "messageChannel_syncStage_enum" NOT NULL DEFAULT 'FULL_MESSAGE_LIST_FETCH_PENDING'::"messageChannel_syncStage_enum",
...
PRIMARY KEY(id),
CONSTRAINT FK_2e966cbb240771c67630d52895c FOREIGN key("connectedAccountId") REFERENCES "connectedAccount"(id)
);
-- Generated by the database client.
CREATE TABLE workspace_29p7xdle6v00po764fzkgp6i3."messageChannel"(
id uuid NOT NULL DEFAULT public.uuid_generate_v4(),
...
"syncStage" "messageChannel_syncStage_enum" NOT NULL DEFAULT 'FULL_MESSAGE_LIST_FETCH_PENDING'::"messageChannel_syncStage_enum",
...
PRIMARY KEY(id),
CONSTRAINT FK_2e966cbb240771c67630d52895c FOREIGN key("connectedAccountId") REFERENCES "connectedAccount"(id)
);
36 replies
TTwenty
Created by marie on 7/16/2024 in #🏡︱general
v0.22 upgrade warnings
Would going from 0.21.2 -> 0.22.1 (instead of 0.22.0) fix this from the start? Currently only playing around in dev env
36 replies
TTwenty
Created by marie on 7/16/2024 in #🏡︱general
v0.22 upgrade warnings
yarn command:prod migrate-0.22:update-message-channel-sync-stage-enum seemed to sort of work. At least after running sync-metadata and upgrade-0.22 afterwards, I got the new address field. Although the FULL_MESSAGES_LIST_FETCH_PENDING naming errors are still present.
36 replies
TTwenty
Created by marie on 7/16/2024 in #🏡︱general
v0.22 upgrade warnings
Will try that tonight, thanks!
36 replies
TTwenty
Created by marie on 7/16/2024 in #🏡︱general
v0.22 upgrade warnings
Hi @marie! I also got some other errors while following the upgrade commands from 0.21.2 to 0.22.0. Anything known?
36 replies
TTwenty
Created by thilles on 7/11/2024 in #❓︱help
Missing favicons
19 replies
TTwenty
Created by thilles on 7/11/2024 in #❓︱help
Missing favicons
Thanks
19 replies
TTwenty
Created by thilles on 7/11/2024 in #❓︱help
Missing favicons
Of course; nnd.no, lovenskiold.no, unibuss.no
19 replies
TTwenty
Created by thilles on 7/11/2024 in #❓︱help
Missing favicons
The other type of missing records have a href linking to a my_logo.svg file instead of a favicon.ico file
19 replies
TTwenty
Created by thilles on 7/11/2024 in #❓︱help
Missing favicons
Okay. As far as I can tell it looks for a href in a link tag, from either of the attributes link[rel=icon], link[rel="shortcut icon"], link[rel="apple-touch-icon"]' it finds. Then it combines the baseurl with the href and pushes that to the favicon server. From two of the failing records, I can see that they specify a full url in href. Making the faviconUrls consist of e.g. https://mycompany.com/https://images.squarespace-cdn.com/content/v1/56a7557442f552f59fe399aa/1453809627219-26RBJRYMD1F99XTA4NNS/favicon.ico
19 replies
TTwenty
Created by thilles on 7/11/2024 in #❓︱help
Missing favicons
Yeah, I got that from the favicon repo. But what can be done if the cache doesn't have the specific records favicon?
19 replies
TTwenty
Created by greg [iero] on 7/9/2024 in #❓︱help
Upgrading 0.2 to 0.21
No description
28 replies
TTwenty
Created by greg [iero] on 7/9/2024 in #❓︱help
Upgrading 0.2 to 0.21
I upgraded ok 0.20.0 -> 0.21.2 with commands yarn database:migrate:prod yarn command:prod workspace:sync-metadata -w 26557ae2-33cc-4d38-8646-3b6f1031bd2b -f (notice -f flag) Only got the two normal warnings during sync [Nest] 248 - 07/11/2024, 6:45:44 AM WARN [SyncWorkspaceMetadataCommand] Workspace contains 2 issues, sync has been forced.
28 replies
TTwenty
Created by thilles on 5/28/2024 in #❓︱help
upgrade from 0.11.2 to 0.12.1
sync-metadata worked! still get some health warnings, but nothing too bad I suppose [Nest] 2971 - 05/30/2024, 8:52:00 PM WARN [SyncWorkspaceMetadataCommand] Workspace contains 4 issues, sync has been forced.
5 replies
TTwenty
Created by thilles on 5/28/2024 in #❓︱help
upgrade from 0.11.2 to 0.12.1
5 replies
TTwenty
Created by thilles on 5/28/2024 in #❓︱help
upgrade from 0.11.2 to 0.12.1
Thanks for the input. From what I can tell it´s already named syncStatus..?
default=# SELECT column_name, data_type
FROM information_schema.columns
WHERE table_schema = 'workspace_29p7xdle6v00po764fzkgp6i3'
AND table_name = 'messageChannel';

column_name | data_type
------------------------------+--------------------------
id | uuid
createdAt | timestamp with time zone
updatedAt | timestamp with time zone
deletedAt | timestamp with time zone
ongoingSyncStartedAt | timestamp with time zone
syncStatus | USER-DEFINED
syncedAt | timestamp with time zone
syncCursor | text
isContactAutoCreationEnabled | boolean
type | USER-DEFINED
connectedAccountId | uuid
handle | text
visibility | USER-DEFINED
isSyncEnabled | boolean
(14 rows)
default=# SELECT column_name, data_type
FROM information_schema.columns
WHERE table_schema = 'workspace_29p7xdle6v00po764fzkgp6i3'
AND table_name = 'messageChannel';

column_name | data_type
------------------------------+--------------------------
id | uuid
createdAt | timestamp with time zone
updatedAt | timestamp with time zone
deletedAt | timestamp with time zone
ongoingSyncStartedAt | timestamp with time zone
syncStatus | USER-DEFINED
syncedAt | timestamp with time zone
syncCursor | text
isContactAutoCreationEnabled | boolean
type | USER-DEFINED
connectedAccountId | uuid
handle | text
visibility | USER-DEFINED
isSyncEnabled | boolean
(14 rows)
5 replies