Skip to content
Back

Missing Scope on VCS Endpoints after Upgrading to 1.4.0

  • 1
  • Functions
  • Web
Binyamin
30 Aug, 2023, 17:20

After committing and restarting? What's the log?

TL;DR
After upgrading to version 1.4.0, users are experiencing missing scope on VCS endpoints. The issue is being addressed in a fix that is in progress (PR #6071). Some users have reported that their changes in a PHP file are being reverted to the default. A potential solution is to check if the changes have been committed (step 4). There is also a separate issue with Git integration, but the team is already working on it and may not accept additional pull requests. Two pull requests have been created for the scope and variable issues (PR #6069 and PR #6070). The issue with the Git
Suiii
30 Aug, 2023, 17:22
TypeScript
2023-08-31 00:21:29 appwrite-realtime             | Connection close: 3
2023-08-31 00:21:29 appwrite                      | [Error] Timestamp: 2023-08-30T17:21:29+00:00
2023-08-31 00:21:29 appwrite                      | [Error] Method: GET
2023-08-31 00:21:29 appwrite                      | [Error] URL: /v1/vcs/installations
2023-08-31 00:21:29 appwrite                      | [Error] Type: Appwrite\Extend\Exception
2023-08-31 00:21:29 appwrite                      | [Error] Message: chhinsras@gmail.com (role: owner) missing scope (none)
2023-08-31 00:21:29 appwrite                      | [Error] File: /usr/src/code/app/controllers/general.php
2023-08-31 00:21:29 appwrite                      | [Error] Line: 475
2023-08-31 00:21:29 appwrite-realtime             | Connection open (user: 4)
2023-08-31 00:21:30 appwrite-influxdb             | [httpd] 172.31.0.4 - - [30/Aug/2023:17:21:30 +0000] "POST /write?db=telegraf HTTP/1.1 " 204 0 "-" "Telegraf/1.20.4 Go/1.17.3" a8b375ce-4759-11ee-827f-0242ac1f0005 3013
Binyamin
30 Aug, 2023, 17:25

owner get's all the member permissions Have you added it to the $member variable?

Suiii
30 Aug, 2023, 17:27

after restarting, it's losen

Suiii
30 Aug, 2023, 17:27

why?

Binyamin
30 Aug, 2023, 17:27

You need to step 4 to commit the changes

Suiii
30 Aug, 2023, 17:28

thanks

Suiii
30 Aug, 2023, 17:29

now it's showend 404 github page

Binyamin
30 Aug, 2023, 17:29

Now that's a new issue

D5
30 Aug, 2023, 17:29

@Binyamin How are we able to do this?

Make sure you've set the max_connection in the mariadb service

  • command: 'mysqld --innodb-flush-method=fsync --max_connections=${_APP_CONNECTIONS_MAX}'
  • command: 'mysqld --innodb-flush-method=fsync'
Inovvia
30 Aug, 2023, 17:30

edit this in your docker compose yml

Drake
30 Aug, 2023, 17:31

Missing Scope on VCS Endpoints after Upgrading to 1.4.0

Binyamin
30 Aug, 2023, 17:34

Use the diff lang

TypeScript
-no
+yes
D5
30 Aug, 2023, 17:34

Where

Drake
30 Aug, 2023, 17:34

can you create a new <#1072905050399191082> post for this?

D5
30 Aug, 2023, 17:34

Okay, sorry, done

Drake
30 Aug, 2023, 17:34

wait no

Binyamin
30 Aug, 2023, 17:35

I've created two PRs one for the scope second for the variable check them out.

Drake
30 Aug, 2023, 17:36

sorry we're already working on this so we probably wouldn't take the PR

Krinnen
30 Aug, 2023, 18:29

Is there any fix for the Git integration? Should I make an extra issue?

Drake
30 Aug, 2023, 18:34

no need. we're working on it

Haysquare
30 Aug, 2023, 18:47

Please can you help, I've done this but the php file keep going back to default after i modify it

Binyamin
30 Aug, 2023, 18:48

Have you committed the changes? step 4?

Drake
30 Aug, 2023, 19:04
Haysquare
30 Aug, 2023, 19:31

I just migrated back 1.3.8, when the fix is ready I will migrate back

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more