1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

fix: permission issue fixed

This commit is contained in:
Christy Jacob 2019-09-28 00:20:11 +05:30
parent ccd63f15e2
commit 2aba526d64
12 changed files with 510 additions and 1472 deletions

1467
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,10 @@ services:
build: .
restart: unless-stopped
volumes:
- .:/usr/share/nginx/html
- ./app:/usr/share/nginx/html/app
- ./public:/usr/share/nginx/html/public
- ./src:/usr/share/nginx/html/src
- ./vendor:/usr/share/nginx/html/vendor
- ./docker/nginx.conf:/etc/nginx/nginx.conf:rw
- ./storage/uploads:/storage/uploads:rw
- ./storage/cache:/storage/cache:rw

41
package-lock.json generated
View file

@ -2517,8 +2517,7 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"aproba": {
"version": "1.2.0",
@ -2539,14 +2538,12 @@
"balanced-match": {
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@ -2561,20 +2558,17 @@
"code-point-at": {
"version": "1.1.0",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"core-util-is": {
"version": "1.0.2",
@ -2691,8 +2685,7 @@
"inherits": {
"version": "2.0.3",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"ini": {
"version": "1.3.5",
@ -2704,7 +2697,6 @@
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"number-is-nan": "^1.0.0"
}
@ -2719,7 +2711,6 @@
"version": "3.0.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}
@ -2727,14 +2718,12 @@
"minimist": {
"version": "0.0.8",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"minipass": {
"version": "2.3.5",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
@ -2753,7 +2742,6 @@
"version": "0.5.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"minimist": "0.0.8"
}
@ -2834,8 +2822,7 @@
"number-is-nan": {
"version": "1.0.1",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"object-assign": {
"version": "4.1.1",
@ -2847,7 +2834,6 @@
"version": "1.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"wrappy": "1"
}
@ -2933,8 +2919,7 @@
"safe-buffer": {
"version": "5.1.2",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"safer-buffer": {
"version": "2.1.2",
@ -2970,7 +2955,6 @@
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
@ -2990,7 +2974,6 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -3034,14 +3017,12 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"yallist": {
"version": "3.0.3",
"bundled": true,
"dev": true,
"optional": true
"dev": true
}
}
},

Binary file not shown.

BIN
storage/db/aria_log_control Normal file

Binary file not shown.

363
storage/db/ib_buffer_pool Normal file
View file

@ -0,0 +1,363 @@
0,345
0,344
36,5
36,4
36,3
36,2
0,343
36,1
36,0
2,5
2,4
0,342
0,341
35,7
35,6
35,5
35,4
35,3
35,2
0,340
35,1
35,0
0,339
0,338
34,5
34,4
34,3
34,2
0,337
34,1
34,0
0,336
0,335
0,334
33,3
33,2
33,1
33,0
32,3
32,2
32,1
32,0
31,3
31,2
31,1
31,0
30,3
30,2
30,1
30,0
29,3
29,2
29,1
29,0
28,3
28,2
28,1
28,0
22,6
22,5
22,4
27,3
27,2
27,1
27,0
26,3
26,2
26,1
26,0
25,3
25,2
25,1
25,0
24,3
24,2
24,1
24,0
23,3
23,2
23,1
23,0
22,3
22,2
0,333
22,1
22,0
0,332
0,331
21,6
21,5
21,4
21,3
21,2
0,330
21,1
21,0
0,329
0,328
20,5
20,4
20,3
20,2
0,327
20,1
20,0
0,326
0,325
0,324
19,3
19,2
19,1
19,0
18,3
18,2
18,1
18,0
17,3
17,2
17,1
17,0
16,3
16,2
16,1
16,0
15,3
15,2
15,1
15,0
14,3
14,2
14,1
14,0
8,6
8,5
8,4
13,3
13,2
13,1
13,0
12,3
12,2
12,1
12,0
11,3
11,2
11,1
11,0
10,3
10,2
10,1
10,0
9,3
9,2
9,1
9,0
8,3
8,2
0,323
0,322
8,1
8,0
0,321
0,320
7,6
7,5
7,4
7,3
7,2
0,319
7,1
7,0
0,318
0,317
6,7
6,6
6,5
6,4
6,3
6,2
6,1
6,0
5,5
5,4
5,3
5,2
5,1
5,0
4,3
4,2
4,1
4,0
3,6
3,5
3,4
3,3
3,2
3,1
3,0
2,2
1,3
2,1
1,2
2,3
1,1
2,0
1,0
0,243
0,9
0,310
0,305
0,308
0,304
0,303
0,302
0,307
0,12
0,10
0,8
0,0
0,300
0,299
0,298
0,297
0,296
0,295
0,294
0,293
0,292
0,291
0,290
0,289
0,288
0,287
0,286
0,285
0,284
0,283
0,282
0,281
0,280
0,279
0,278
0,277
0,276
0,275
0,274
0,273
0,272
0,271
0,270
0,269
0,268
0,267
0,266
0,265
0,264
0,263
0,262
0,261
0,260
0,259
0,258
0,257
0,256
0,255
0,254
0,253
0,252
0,251
0,250
0,249
0,248
0,247
0,246
0,245
0,244
0,242
0,241
0,240
0,239
0,238
0,237
0,236
0,235
0,234
0,233
0,232
0,231
0,230
0,229
0,228
0,227
0,226
0,225
0,224
0,223
0,222
0,221
0,220
0,219
0,218
0,217
0,216
0,215
0,214
0,213
0,212
0,211
0,210
0,209
0,208
0,207
0,206
0,205
0,204
0,203
0,202
0,201
0,200
0,199
0,198
0,197
0,196
0,195
0,194
0,193
0,192
0,63
0,62
0,61
0,60
0,59
0,58
0,57
0,56
0,55
0,54
0,53
0,316
0,52
0,315
0,51
0,314
0,50
0,313
0,49
0,312
0,48
0,311
0,47
0,309
0,46
0,306
0,45
0,301
0,6
0,1
0,11
0,4
0,2
0,3
0,7
0,5

BIN
storage/db/ib_logfile0 Normal file

Binary file not shown.

BIN
storage/db/ib_logfile1 Normal file

Binary file not shown.

BIN
storage/db/ibdata1 Normal file

Binary file not shown.

BIN
storage/db/ibtmp1 Normal file

Binary file not shown.

View file

106
test.txt Normal file
View file

@ -0,0 +1,106 @@
Initializing database
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
Database initialized
MySQL init process in progress...
2019-09-27 17:55:36 0 [Note] mysqld (mysqld 10.4.4-MariaDB-1:10.4.4+maria~bionic) starting as process 123 ...
2019-09-27 17:55:36 0 [Note] InnoDB: Using Linux native AIO
2019-09-27 17:55:36 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-09-27 17:55:36 0 [Note] InnoDB: Uses event mutexes
2019-09-27 17:55:36 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-27 17:55:36 0 [Note] InnoDB: Number of pools: 1
2019-09-27 17:55:36 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-09-27 17:55:36 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2019-09-27 17:55:36 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2019-09-27 17:55:36 0 [Note] InnoDB: Completed initialization of buffer pool
2019-09-27 17:55:36 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-09-27 17:55:36 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-09-27 17:55:36 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-09-27 17:55:36 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-09-27 17:55:36 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-09-27 17:55:36 0 [Note] InnoDB: Waiting for purge to start
2019-09-27 17:55:36 0 [Note] InnoDB: 10.4.4 started; log sequence number 139836; transaction id 21
2019-09-27 17:55:36 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-09-27 17:55:36 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-27 17:55:36 0 [Warning] 'user' entry 'root@6838970a5e6f' ignored in --skip-name-resolve mode.
2019-09-27 17:55:36 0 [Warning] 'user' entry '@6838970a5e6f' ignored in --skip-name-resolve mode.
2019-09-27 17:55:36 0 [Warning] 'proxies_priv' entry '@% root@6838970a5e6f' ignored in --skip-name-resolve mode.
2019-09-27 17:55:37 0 [Note] InnoDB: Buffer pool(s) load completed at 190927 17:55:37
2019-09-27 17:55:37 0 [Note] Reading of all Master_info entries succeded
2019-09-27 17:55:37 0 [Note] Added new Master_info '' to hash table
2019-09-27 17:55:37 0 [Note] mysqld: ready for connections.
Version: '10.4.4-MariaDB-1:10.4.4+maria~bionic' socket: '/var/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
////////////////////// The following part starts after 2 minutes ///////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
// During this time, the permissions are changed by appwrite service and all the following
operations fail. But this run passed because I had commented that line in docker-compose////
2019-09-27 17:57:24 11 [Warning] 'proxies_priv' entry '@% root@6838970a5e6f' ignored in --skip-name-resolve mode.
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/all.sql
2019-09-27 17:57:29 0 [Note] mysqld (initiated by: unknown): Normal shutdown
2019-09-27 17:57:29 0 [Note] Event Scheduler: Purging the queue. 0 events
2019-09-27 17:57:29 0 [Note] InnoDB: FTS optimize thread exiting.
2019-09-27 17:57:29 0 [Note] InnoDB: Starting shutdown...
2019-09-27 17:57:29 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2019-09-27 17:57:29 0 [Note] InnoDB: Buffer pool(s) dump completed at 190927 17:57:29
2019-09-27 17:57:31 0 [Note] InnoDB: Shutdown completed; log sequence number 391897; transaction id 97
2019-09-27 17:57:31 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-09-27 17:57:31 0 [Note] mysqld: Shutdown complete
MySQL init process done. Ready for start up.
2019-09-27 17:57:31 0 [Note] mysqld (mysqld 10.4.4-MariaDB-1:10.4.4+maria~bionic) starting as process 1 ...
2019-09-27 17:57:31 0 [Note] InnoDB: Using Linux native AIO
2019-09-27 17:57:31 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-09-27 17:57:31 0 [Note] InnoDB: Uses event mutexes
2019-09-27 17:57:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-09-27 17:57:31 0 [Note] InnoDB: Number of pools: 1
2019-09-27 17:57:31 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-09-27 17:57:31 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
2019-09-27 17:57:31 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2019-09-27 17:57:31 0 [Note] InnoDB: Completed initialization of buffer pool
2019-09-27 17:57:31 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-09-27 17:57:31 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-09-27 17:57:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-09-27 17:57:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-09-27 17:57:31 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-09-27 17:57:31 0 [Note] InnoDB: Waiting for purge to start
2019-09-27 17:57:31 0 [Note] InnoDB: 10.4.4 started; log sequence number 391897; transaction id 95
2019-09-27 17:57:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2019-09-27 17:57:31 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-09-27 17:57:31 0 [Note] Server socket created on IP: '::'.
2019-09-27 17:57:31 0 [Warning] 'proxies_priv' entry '@% root@6838970a5e6f' ignored in --skip-name-resolve mode.
2019-09-27 17:57:32 0 [Note] Reading of all Master_info entries succeded
2019-09-27 17:57:32 0 [Note] Added new Master_info '' to hash table
2019-09-27 17:57:32 0 [Note] mysqld: ready for connections.
Version: '10.4.4-MariaDB-1:10.4.4+maria~bionic' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
2019-09-27 17:57:32 0 [Note] InnoDB: Buffer pool(s) load completed at 190927 17:57:32