diff --git a/Makefile b/Makefile
index 9f57938..d3f07a1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ help:
#.PHONY: build-push
#build-push:
# docker login ghcr.io
-# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:4.0.0 --tag ghcr.io/nextcloud/context_chat_backend:latest .
+# docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/context_chat_backend:4.0.1 --tag ghcr.io/nextcloud/context_chat_backend:latest .
.PHONY: run
run:
@@ -34,5 +34,5 @@ run:
register:
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister context_chat_backend --silent || true
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register context_chat_backend manual_install --json-info \
- "{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \
+ "{\"id\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.1\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system\":0}" \
--force-scopes --wait-finish
diff --git a/README.md b/README.md
index 5688157..9ad7304 100644
--- a/README.md
+++ b/README.md
@@ -74,7 +74,7 @@ If nextcloud is inside a container, `--add-host` option would be required by you
**2. Register the app using the deploy daemon (be mindful of the port number and the app's version):**
```
occ app_api:app:register context_chat_backend manual_install --json-info \
-"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.0\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \
+"{\"appid\":\"context_chat_backend\",\"name\":\"Context Chat Backend\",\"daemon_config_name\":\"manual_install\",\"version\":\"4.0.1\",\"secret\":\"12345\",\"port\":10034,\"scopes\":[],\"system_app\":0}" \
--force-scopes --wait-finish
```
The command to unregister is given below (force is used to also remove apps whose container has been removed)
@@ -226,7 +226,7 @@ sudo -u www-data php occ app_api:app:register \
--json-info "{\"appid\":\"context_chat_backend\",\
\"name\":\"Context Chat Backend\",\
\"daemon_config_name\":\"manual_install\",\
- \"version\":\"4.0.0\",\
+ \"version\":\"4.0.1\",\
\"secret\":\"12345\",\
\"port\":10034,\
\"scopes\":[],\
diff --git a/appinfo/info.xml b/appinfo/info.xml
index b227f23..3dca062 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -20,7 +20,7 @@ Install the given apps for Context Chat to work as desired **in the given order*
Setup background job workers as described here: https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html#improve-ai-task-pickup-speed
]]>
- 4.0.0
+ 4.0.1
agpl
Anupam Kumar
Context Chat
@@ -35,7 +35,7 @@ Setup background job workers as described here: https://docs.nextcloud.com/serve
ghcr.io
nextcloud/context_chat_backend
- 4.0.0
+ 4.0.1
diff --git a/changelog.md b/changelog.md
index 6957131..ec94d64 100644
--- a/changelog.md
+++ b/changelog.md
@@ -8,6 +8,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## 4.0.1 - 2024-12-19
+
+### Fixed
+- only remove leftovers from previous db (#115) @kyteinsky
+
+
## 4.0.0 - 2024-12-17
### Changed
diff --git a/example.env b/example.env
index 7ea39c2..743e25d 100644
--- a/example.env
+++ b/example.env
@@ -17,7 +17,7 @@ AA_VERSION=2.7.0
APP_SECRET=12345
APP_ID=context_chat_backend
APP_DISPLAY_NAME=Context Chat Backend
-APP_VERSION=4.0.0
+APP_VERSION=4.0.1
APP_HOST=0.0.0.0
APP_PORT=10034
APP_PERSISTENT_STORAGE=persistent_storage
diff --git a/pyproject.toml b/pyproject.toml
index d672d70..0a7107e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
[project]
name = "context_chat_backend"
-version = "4.0.0"
+version = "4.0.1"
requires-python = ">=3.11"
authors = [
{ name = "Anupam Kumar", email = "kyteinsky@gmail.com" }