CtrLife
  • Home
  • Posts
  • Notes
  • Timeline
  • Thinking
  • More
Mon, May 12, 2025

Fixed a small issue with the blog

Yohaku · Letter №3Read full note →
Older notes
Anno
2025
1 letter
25
April
Fri
Fri, April 25
晴开心

The Birth of This Blog

This marks the site's second launch, as the first attempt was abandoned after creation. The goal now is to enhance personal output and establish a space for sharing thoughts on life, technology, and ideas. Despite a busy schedule, the site is officially launched. Challenges during setup will be documented in a future article. A celebration concludes the announcement.

Letter №1Read full note →
Newer notes·Older notesPage 1
青阳
Stay hungry. Stay foolish.
© 2024-2026 青阳·def0e693↗·printed 10/19/2026·Mix Space↗·余白 / Yohaku↗·桂 ICP 备 2024030502号-2↗
关于我·关于本站↗·时间线·友链·写留言·发邮件↗·GitHub↗|RSS Feed·Sitemap·Theme···Language·Background effect

After logging in with GitHub OAuth, I changed my GitHub username, but Mix-Space didn't sync it — because the name is already stored in the database after login. To update the name on the site, you need to modify the database.

Here's the process:

  1. Connect to the server and run docker exec -it mongo mongosh mx-space
  2. Run db.readers.find(). You can type show collections to list all collections.
  3. Run:
JavaScript
db.readers.updateOne(
  { name: 'old name' },
  { $set: { name: 'new name' } }
);
  1. Done