- Hydro 的博客
2025/5/4日志
- @ 2025-5-4 19:55:29
Welcome to Alibaba Cloud Elastic Compute Service !
Updates Information Summary: available
24 Security notice(s)
10 Important Security notice(s)
13 Moderate Security notice(s)
1 Low Security notice(s)
Run "dnf upgrade-minimal --security" to apply all updates.More details please refer to:
https://help.aliyun.com/document_detail/416274.html
Last login: Sun May 4 19:46:07 2025 from 8.139.112.83
[root@iZbp1ce6tx8oazkrjchkqnZ ~]# hydrooj cli user setSuperAdmin
Process 246801 running as master
Using mongodb external event bus
(node:246801) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
04 19:50:11 settings [I] Successfully loaded config
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/blacklist.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/discussion.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/document.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/message.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/opcount.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/problem.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/record.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/schedule.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/setting.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/storage.ts
04 19:50:11 loader [I] apply plugin /hydrooj/src/model/task.ts
04 19:50:11 model/setting [I] Ensuring settings
04 19:50:11 common [I] Config load: /usr/local/share/.config/yarn/global/node_modules/hydrooj
04 19:50:12 common [I] Config load: /usr/local/share/.config/yarn/global/node_modules/@hydrooj/ui-default
04 19:50:12 common [I] Config load: /usr/local/share/.config/yarn/global/node_modules/@hydrooj/hydrojudge
04 19:50:13 loader [I] apply plugin /@hydrooj/ui-default/index.ts
04 19:50:13 loader [I] apply plugin /@hydrooj/hydrojudge/index.js
04 19:50:13 loader [I] apply plugin /@hydrooj/fps-importer/index.ts
04 19:50:13 loader [I] apply plugin /@hydrooj/a11y/index.ts
04 19:50:13 loader [I] apply plugin /root/.hydro/addons/hydro-plugins/coin-33oj/index.ts
04 19:50:13 loader [I] apply plugin /root/.hydro/addons/blog/index.ts
04 19:50:13 loader [I] apply plugin /root/.hydro/addons/hydro-plugins/badge-33oj/index.ts
04 19:50:13 server [W] Route with name BlogEditHandler already exists.
04 19:50:13 model/task [I] No replica set found.
04 19:50:13 loader [I] apply plugin /hydrooj/src/script/blacklist.ts
04 19:50:13 loader [I] apply plugin /hydrooj/src/script/checkUpdate.ts
04 19:50:13 loader [I] apply plugin /hydrooj/src/script/deleteUser.ts
04 19:50:13 loader [I] apply plugin /hydrooj/src/script/problemStat.ts
04 19:50:13 loader [I] apply plugin /hydrooj/src/script/rating.ts
04 19:50:13 loader [I] apply plugin /hydrooj/src/script/storageUsage.ts
{
}
[root@iZbp1ce6tx8oazkrjchkqnZ ~]#
Welcome to Alibaba Cloud Elastic Compute Service !
Updates Information Summary: available
24 Security notice(s)
10 Important Security notice(s)
13 Moderate Security notice(s)
1 Low Security notice(s)
Run "dnf upgrade-minimal --security" to apply all updates.More details please refer to:
https://help.aliyun.com/document_detail/416274.html
Last login: Sun May 4 20:13:37 2025 from 47.96.60.110
[root@iZbp1ce6tx8oazkrjchkqnZ ~]# hydrooj db
04 20:14:03 db [I] Detecting mongosh...
(node:247966) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Current Mongosh Log ID: 68175a0d0673fb36d62df4e3
Connecting to: mongodb://<credentials>@127.0.0.1:27017/hydro?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.3.7
Using MongoDB: 7.0.11
Using Mongosh: 2.3.7
mongosh 2.5.0 is available for download: https://www.mongodb.com/try/download/shell
For mongosh info see: https://www.mongodb.com/docs/mongodb-shell/
hydro> const user = db.user.deleteOne({_id:});
hydro> const user = db.user.deleteOne({_id:});
hydro> const user = db.user.deleteOne({_id:});
hydro> const user = db.user.deleteOne({_id:});
hydro> const user = db.user.deleteOne({_id:});
hydro>
删了一些隐私信息