You are using the default setup as described in the self hosting guide. With the root docker-compose.yml file located at ~/web, and the forumify files in ~/web/forumify,
You have made no modifications directly in the src/ directory of your project.
In step 1, we instruct that the src/ should be deleted. If you did make changes, you should keep that folder. However, it's highly likely that your modifications will not be compatible with 1.0. If you're using a git repository instead of plain self-hosting, you can execute these instructions on your local machine to validate if your site still works.
Step 1: turn off your instance:
$ docker stop forumify
Step 2: delete files and directories that do not include any changes in a default self-hosting environment:
$ cd ~/web/forumify
$ rm -rf assets bin config migrations node_modules src translations var vendor && rm symfony.lock webpack.config.js package-lock.json composer.lock
Step 3: edit composer.json and update the following lines:
"require": { "symfony/runtime": "7.4.*", ... }
"extra": { "symfony": { "require": "7.4.*", ... }
(make sure require.forumify-platform is set to "*" or "^1.0" and after your modifications, check that it's still a valid JSON before continuing, you can use online validators for this)
Step 4: update the forumify image
$ docker pull forumify/forumify
Step 5: start forumify again
$ cd ~/web
$ docker compose up -d
Step 6: OPTIONAL install the free calendar plugin if you used the calendar in the past.
And that's it, the system should automatically apply any migrations to bring your database up to the latest schema, and any modifications made from the UI through themes, templates,.. should still be there.
If you run into any errors or issues during the upgrade process, please post them in this topic.
Official migration guide from 0.4 to 1.0
This update guide assumes 2 things:
Step 1: turn off your instance:
Step 2: delete files and directories that do not include any changes in a default self-hosting environment:
Step 3: edit composer.json and update the following lines:
(make sure require.forumify-platform is set to "*" or "^1.0" and after your modifications, check that it's still a valid JSON before continuing, you can use online validators for this)
Step 4: update the forumify image
Step 5: start forumify again
Step 6: OPTIONAL install the free calendar plugin if you used the calendar in the past.
And that's it, the system should automatically apply any migrations to bring your database up to the latest schema, and any modifications made from the UI through themes, templates,.. should still be there.
If you run into any errors or issues during the upgrade process, please post them in this topic.