diff --git a/CHANGELOG b/CHANGELOG index f3505f7..15e5c18 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1011,3 +1011,9 @@ Improve replication performance. See (#12080, #12054, #12009) for more details. * SSE-KMS support was not working with copyObject() refer #13206 * Support UserInfo claims refer #12469 +[2.0.0] +* **This is a major update. The changes below are required for the app to work. The newer version of the app has 2 domain names - one for the console (browser UI) and one of the API domain (API/S3 requests). ** + * Be sure to take a backup before updating the app. + * Once updated, go to the `Location` view and set the API Domain. + * Update the various apps/servers/code to use the API domain as the backup destination. + diff --git a/CloudronManifest.json b/CloudronManifest.json index e3185d4..01ec78c 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -5,7 +5,7 @@ "description": "file://DESCRIPTION.md", "changelog": "file://CHANGELOG", "tagline": "Distributed object storage", - "version": "1.167.0", + "version": "2.0.0", "healthCheckPath": "/minio/login", "httpPort": 8000, "httpPorts": { diff --git a/start.sh b/start.sh index 62c5b33..52f9b1f 100755 --- a/start.sh +++ b/start.sh @@ -8,7 +8,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs source /app/data/env.sh # https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL -export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}" +[[ -n "${API_SERVER_DOMAIN:-}" ]] && export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}" export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}" if [[ ! -d /app/data/mc_config ]]; then diff --git a/test/test.js b/test/test.js index 734dc44..b8fa4a2 100644 --- a/test/test.js +++ b/test/test.js @@ -165,7 +165,6 @@ describe('Application life cycle test', function () { it('can add buckets', old_addBucket); it('can logout', old_logout); it('can update', function () { execSync(`cloudron update --app ${LOCATION} --no-wait`, EXEC_ARGS); }); - it('can enable API Port', function () { execSync(`cloudron configure --app ${LOCATION} -p API_PORT=9000 -l ${LOCATION} `, EXEC_ARGS); }); it('can get app information', getAppInfo); it('can login', login.bind(null, 'minioadmin', 'minioadmin'));