[Possible Bug?] Empty activity log on 1.4.# #7100
Unanswered
Schrolli91
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Here is a Log from a run of the migration on a COMPLETE (only demo project created to check if its running correct) fresh installed instance (1.4.9) on a new VM. root@Appwrite:~/appwrite# docker compose exec appwrite migrate
Starting Data Migration to version 1.4.9
Migrating Project: Appwrite (console)
Migrating Collections
Migrating Collection "projects"
'database' from projects: Attribute already exists
#0 /usr/src/code/src/Appwrite/Migration/Migration.php(317): Utopia\Database\Database->createAttribute(Object(Utopia\Database\Document), 'database', 'string', 256, true, NULL, true, false, '', Array, Array)
#1 /usr/src/code/src/Appwrite/Migration/Version/V19.php(498): Appwrite\Migration\Migration->createAttributeFromCollection(Object(Utopia\Database\Database), 'projects', 'database')
#2 /usr/src/code/src/Appwrite/Migration/Version/V19.php(34): Appwrite\Migration\Version\V19->migrateCollections()
#3 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(95): Appwrite\Migration\Version\V19->execute()
#4 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(32): Appwrite\Platform\Tasks\Migrate->action('1.4.9', Object(Utopia\Cache\Cache), Object(Utopia\Database\Database), Object(Closure))
#5 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(320): Appwrite\Platform\Tasks\Migrate->Appwrite\Platform\Tasks\{closure}('1.4.9', Object(Utopia\Cache\Cache), Object(Utopia\Database\Database), Object(Closure))
#6 /usr/src/code/app/cli.php(211): Utopia\CLI\CLI->run()
#7 {main}
'smtp' from projects: Attribute already exists
#0 /usr/src/code/src/Appwrite/Migration/Migration.php(317): Utopia\Database\Database->createAttribute(Object(Utopia\Database\Document), 'smtp', 'string', 16384, false, '[]', true, false, '', Array, Array)
#1 /usr/src/code/src/Appwrite/Migration/Version/V19.php(498): Appwrite\Migration\Migration->createAttributeFromCollection(Object(Utopia\Database\Database), 'projects', 'smtp')
#2 /usr/src/code/src/Appwrite/Migration/Version/V19.php(34): Appwrite\Migration\Version\V19->migrateCollections()
#3 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(95): Appwrite\Migration\Version\V19->execute()
#4 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(32): Appwrite\Platform\Tasks\Migrate->action('1.4.9', Object(Utopia\Cache\Cache), Object(Utopia\Database\Database), Object(Closure))
#5 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(320): Appwrite\Platform\Tasks\Migrate->Appwrite\Platform\Tasks\{closure}('1.4.9', Object(Utopia\Cache\Cache), Object(Utopia\Database\Database), Object(Closure))
#6 /usr/src/code/app/cli.php(211): Utopia\CLI\CLI->run()
#7 {main}
'templates' from projects: Attribute already exists
#0 /usr/src/code/src/Appwrite/Migration/Migration.php(317): Utopia\Database\Database->createAttribute(Object(Utopia\Database\Document), 'templates', 'string', 1000000, false, '[]', true, false, '', Array, Array)
#1 /usr/src/code/src/Appwrite/Migration/Version/V19.php(498): Appwrite\Migration\Migration->createAttributeFromCollection(Object(Utopia\Database\Database), 'projects', 'templates')
#2 /usr/src/code/src/Appwrite/Migration/Version/V19.php(34): Appwrite\Migration\Version\V19->migrateCollections()
#3 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(95): Appwrite\Migration\Version\V19->execute()
#4 /usr/src/code/src/Appwrite/Platform/Tasks/Migrate.php(32): Appwrite\Platform\Tasks\Migrate->action('1.4.9', Object(Utopia\Cache\Cache), Object(Utopia\Database\Database), Object(Closure))
#5 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(320): Appwrite\Platform\Tasks\Migrate->Appwrite\Platform\Tasks\{closure}('1.4.9', Object(Utopia\Cache\Cache), Object(Utopia\Database\Database), Object(Closure))
#6 /usr/src/code/app/cli.php(211): Utopia\CLI\CLI->run()
#7 {main}
Migrating Collection "platforms"
Migrating Collection "keys"
Migrating Collection "webhooks"
Migrating Collection "certificates"
'logs' from certificates: Attribute not found
Migrating Collection "realtime"
Migrating Collection "rules"
Migrating Collection "installations"
Migrating Collection "repositories"
Migrating Collection "vcsComments"
Migrating Collection "vcsCommentLocks"
Migrating Collection "users"
'labels' from users: Attribute already exists
'accessedAt' from users: Attribute already exists
'_key_accessedAt' from users: Index already exists
Migrating Collection "tokens"
Migrating Collection "sessions"
Migrating Collection "identities"
Migrating Collection "teams"
Migrating Collection "memberships"
Migrating Collection "buckets"
Migrating Collection "stats"
Migrating Domains
Migrating Buckets
1 / 1
Migrating Bucket bucket_1 default (Default)
'bucketInternalId' from bucket_1: Attribute already exists
Migrating Documents
Migrating Collection projects:
1 / 1
Migrating Collection schedules:
0 / 0
Migrating Collection platforms:
2 / 2
Migrating Collection keys:
0 / 0
Migrating Collection webhooks:
0 / 0
Migrating Collection certificates:
1 / 1
Migrating Collection realtime:
1 / 1
Migrating Collection rules:
1 / 1
Migrating Collection installations:
0 / 0
Migrating Collection repositories:
0 / 0
Migrating Collection vcsComments:
0 / 0
Migrating Collection vcsCommentLocks:
0 / 0
Migrating Collection users:
1 / 1
Migrating Collection tokens:
0 / 0
Migrating Collection sessions:
1 / 1
Migrating Collection identities:
0 / 0
Migrating Collection teams:
1 / 1
Migrating Collection memberships:
1 / 1
Migrating Collection buckets:
1 / 1
Migrating Collection stats:
0 / 0
Cleaning Up Collections
'domains' from projects: Attribute not found
'stderr' from builds: Attribute not found
'stdout' from builds: Attribute not found
Migrated 1/2 projects...
Migrating Project: Freezy App (freezy-app)
Migrating Collections
Migrating Collection "_metadata"
Migrating Collection "audit"
Migrating Collection "abuse"
Migrating Collection "databases"
'enabled' from databases: Attribute already exists
Migrating Collection "attributes"
'error' from attributes: Attribute already exists
Migrating Collection "indexes"
'error' from indexes: Attribute already exists
Migrating Collection "functions"
'live' from functions: Attribute already exists
'installationId' from functions: Attribute already exists
'installationInternalId' from functions: Attribute already exists
'providerRepositoryId' from functions: Attribute already exists
'repositoryId' from functions: Attribute already exists
'repositoryInternalId' from functions: Attribute already exists
'providerBranch' from functions: Attribute already exists
'providerRootDirectory' from functions: Attribute already exists
'providerSilentMode' from functions: Attribute already exists
'logging' from functions: Attribute already exists
'deploymentInternalId' from functions: Attribute already exists
'schedule' from functions: Attribute already exists
'scheduleInternalId' from functions: Attribute already exists
'scheduleId' from functions: Attribute already exists
'version' from functions: Attribute already exists
'entrypoint' from functions: Attribute already exists
'commands' from functions: Attribute already exists
'varsProject' from functions: Attribute already exists
'_key_installationId' from functions: Index already exists
'_key_installationInternalId' from functions: Index already exists
'_key_providerRepositoryId' from functions: Index already exists
'_key_repositoryId' from functions: Index already exists
'_key_repositoryInternalId' from functions: Index already exists
Migrating Collection "deployments"
resourceInternalId from deployments: Attribute already exists
buildInternalId from deployments: Attribute already exists
commands from deployments: Attribute already exists
type from deployments: Attribute already exists
installationId from deployments: Attribute already exists
installationInternalId from deployments: Attribute already exists
providerRepositoryId from deployments: Attribute already exists
repositoryId from deployments: Attribute already exists
repositoryInternalId from deployments: Attribute already exists
providerRepositoryName from deployments: Attribute already exists
providerRepositoryOwner from deployments: Attribute already exists
providerRepositoryUrl from deployments: Attribute already exists
providerCommitHash from deployments: Attribute already exists
providerCommitAuthorUrl from deployments: Attribute already exists
providerCommitAuthor from deployments: Attribute already exists
providerCommitMessage from deployments: Attribute already exists
providerCommitUrl from deployments: Attribute already exists
providerBranch from deployments: Attribute already exists
providerBranchUrl from deployments: Attribute already exists
providerRootDirectory from deployments: Attribute already exists
providerCommentId from deployments: Attribute already exists
'_key_entrypoint' from deployments: Can't DROP INDEX `_key_entrypoint`; check that it exists
Migrating Collection "builds"
size from builds: Attribute already exists
deploymentInternalId from builds: Attribute already exists
logs from builds: Attribute already exists
'path' from builds: Attribute not found
Migrating Collection "executions"
functionInternalId from executions: Attribute already exists
deploymentInternalId from executions: Attribute already exists
requestMethod from executions: Attribute already exists
requestPath from executions: Attribute already exists
requestHeaders from executions: Attribute already exists
responseHeaders from executions: Attribute already exists
'response' from executions: Attribute not found
'errors' from executions: Attribute not found
'logs' from executions: Attribute not found
'responseStatusCode' from executions: Attribute not found
'_key_statusCode' from executions: Can't DROP INDEX `_key_statusCode`; check that it exists
'_key_responseStatusCode' from executions: Index already exists
Migrating Collection "cache"
Migrating Collection "variables"
'_key_function' from variables: Can't DROP INDEX `_key_function`; check that it exists
'resourceType' from variables: Attribute already exists
'resourceInternalId' from variables: Attribute not found
'resourceId' from variables: Attribute not found
'_key_resourceInternalId' from variables: Index already exists
'_key_resourceId_resourceType' from variables: Index already exists
'_key_resourceType' from variables: Index already exists
Migrating Collection "migrations"
Migrating Collection "users"
'labels' from users: Attribute already exists
'accessedAt' from users: Attribute already exists
'_key_accessedAt' from users: Index already exists
Migrating Collection "tokens"
Migrating Collection "sessions"
Migrating Collection "identities"
Migrating Collection "teams"
Migrating Collection "memberships"
Migrating Collection "buckets"
Migrating Collection "stats"
Migrating Buckets
0 / 0
Migrating Documents
Migrating Collection _metadata:
22 / 22
Migrating Collection audit:
16 / 16
Migrating Collection abuse:
15 / 15
Migrating Collection databases:
1 / 1
Migrating Collection attributes:
7 / 7
Migrating Collection indexes:
0 / 0
Migrating Collection functions:
0 / 0
Migrating Collection deployments:
0 / 0
Migrating Collection builds:
0 / 0
Migrating Collection executions:
0 / 0
Migrating Collection variables:
0 / 0
Migrating Collection migrations:
0 / 0
Migrating Collection users:
1 / 1
Migrating Collection tokens:
0 / 0
Migrating Collection sessions:
1 / 1
Migrating Collection identities:
0 / 0
Migrating Collection teams:
0 / 0
Migrating Collection memberships:
0 / 0
Migrating Collection buckets:
0 / 0
Migrating Collection stats:
100 / 1624
200 / 1624
300 / 1624
400 / 1624
500 / 1624
600 / 1624
700 / 1624
800 / 1624
900 / 1624
1000 / 1624
1100 / 1624
1200 / 1624
1300 / 1624
1400 / 1624
1500 / 1624
1600 / 1624
1624 / 1624
Cleaning Up Collections
'domains' from projects: Attribute not found
'stderr' from builds: Attribute not found
'stdout' from builds: Attribute not found
Migrated 2/2 projects...
Data Migration Completed |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Problem with the migration to 1.4.9
I see the same behavior as in #5805
My activity log on the Auth/User page is empty.
Here is a log from a actual 1.4.9 docker setup
docker compose exec appwrite migrate
Any ideas whats going wrong, or how I can fix that?
Migration log
Beta Was this translation helpful? Give feedback.
All reactions