Skip to content

fix: migration steps for self-hosting #825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 27, 2025
Merged

fix: migration steps for self-hosting #825

merged 6 commits into from
Apr 27, 2025

Conversation

toddb
Copy link
Contributor

@toddb toddb commented Apr 21, 2025

Update the instructions based on self-hosting that is tested and starts from no source code. Includes a shell script for managing the process and also commands for helping maintain the table of migrations

Update the instructions based on self-hosting that is tested and starts from no source code. Includes a shell script for managing the process and also commands for helping maintain the table of migrations
@toddb toddb requested a review from Aviatorscode2 as a code owner April 21, 2025 21:03
Copy link

netlify bot commented Apr 21, 2025

Deploy Preview for docs-novu ready!

Name Link
🔨 Latest commit bf90c56
🔍 Latest deploy log https://app.netlify.com/sites/docs-novu/deploys/680b179b7363c80008d0d850
😎 Deploy Preview https://deploy-preview-825--docs-novu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jainpawan21 jainpawan21 requested a review from scopsy April 22, 2025 06:23
@scopsy
Copy link
Contributor

scopsy commented Apr 24, 2025

Hmm, something in the build is failing:

3:53:19 PM: > [email protected] build /opt/build/repo
3:53:19 PM: > next build
3:53:19 PM: ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
3:53:19 PM:    ▲ Next.js 15.1.6
3:53:19 PM:    - Experiments (use with caution):
3:53:19 PM:      · turbo
3:53:19 PM:    Creating an optimized production build ...
3:53:20 PM: [MDX] update map file: 209.868ms
3:54:00 PM: <w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/auto|/opt/build/repo/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/build/webpack/loaders/next-flight-loader/index.js!/opt/build/repo/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js??ruleSet[1].rules[21].use[0]!/opt/build/repo/node_modules/.pnpm/[email protected][email protected][email protected]_@[email protected]_@types+r_109ce8904e323a7bc2b9ef44ee9962ec/node_modules/fumadocs-mdx/loader-mdx.cjs??ruleSet[1].rules[21].use[1]!/opt/build/repo/content/docs/community/self-hosting-novu/data-migrations.mdx?collection=docs&hash=1745412764048|rsc': No serializer registered for VFileMessage
3:54:00 PM: <w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> webpack/lib/ModuleBuildError -> VFileMessage
3:54:05 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
3:54:05 PM: Failed to compile.
3:54:05 PM: 
3:54:05 PM: ./content/docs/community/self-hosting-novu/data-migrations.mdx?collection=docs&hash=1745412764048
3:54:05 PM: data-migrations.mdx:51:87-51:459: Expected a closing tag for `<br>` (51:411-51:415) before the end of `tableData`
3:54:05 PM: Import trace for requested module:
3:54:05 PM: ./content/docs/community/self-hosting-novu/data-migrations.mdx?collection=docs&hash=1745412764048
3:54:05 PM: ./.source/index.ts
3:54:05 PM: ./src/lib/source.ts
3:54:05 PM: ./src/app/layout.tsx
3:54:05 PM: > Build failed because of webpack errors

@toddb does running run build locally works for you?

@toddb
Copy link
Contributor Author

toddb commented Apr 24, 2025

Sorry, only just saw this.

Your parser wants closing html elements in the markdown. It's there in the errors!

<br> --> <br/>

I will update and then run the build to ensure it works, apologies.

@toddb
Copy link
Contributor Author

toddb commented Apr 25, 2025

@scopsy ready to go

@toddb toddb requested a review from scopsy April 25, 2025 19:01
@scopsy scopsy merged commit 6118382 into novuhq:main Apr 27, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants