mirror of
https://github.com/pockethost/pockethost.git
synced 2025-07-03 03:12:29 +00:00
Merge branch 'master' of github.com:benallfree/pockethost
This commit is contained in:
commit
4c670adbd1
@ -45,7 +45,7 @@ sudo open https://pockethost.io
|
|||||||
|
|
||||||
If all goes well:
|
If all goes well:
|
||||||
|
|
||||||
- Update `readme.md` with latest relevant fixes.
|
- Update `./gitbook/releases` with latest relevant fixes.
|
||||||
- Create a new discussion on PocketHost forum
|
- Create a new discussion on PocketHost forum
|
||||||
- If major release, create announcement on PocketBase forum
|
- If major release, create announcement on PocketBase forum
|
||||||
- Use `yarn version --patch` for patch release and tag with git
|
- Use `yarn version --patch` for patch release and tag with git
|
||||||
|
45
gitbook/releases/0.8.2.md
Normal file
45
gitbook/releases/0.8.2.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# PocketHost 0.8.2 Release Notes
|
||||||
|
|
||||||
|
[PocketHost](https://pockethost.io) is the zero-config 'PocketBase in the cloud' platform. Thank you for everyone's continued support for this project.
|
||||||
|
|
||||||
|
## What's New
|
||||||
|
|
||||||
|
This is a maintenance release.
|
||||||
|
|
||||||
|
Highlights:
|
||||||
|
|
||||||
|
- Fixed PocketBase version upgrade stability - `unzipper` package failing on node v18.6.0
|
||||||
|
- Improved logging for debugging purposes
|
||||||
|
- FTP enhancements
|
||||||
|
- Database migration cleanup
|
||||||
|
- Refactor Danger Zone UI
|
||||||
|
|
||||||
|
## Change log
|
||||||
|
|
||||||
|
- enhancement: proxy logging output fix
|
||||||
|
- chore: logging fixes
|
||||||
|
- fix: lock node version
|
||||||
|
- fix: unzipper nodejs incompatibility
|
||||||
|
- chore: sqlite patch update
|
||||||
|
- refactor: UpdaterService
|
||||||
|
- chore: rename pocketbaseService
|
||||||
|
- fix: service template
|
||||||
|
- enh: stresser
|
||||||
|
- enh: stresser cleanup
|
||||||
|
- fix: restore pb_static in FTP service
|
||||||
|
- chore: docs cleanup
|
||||||
|
- enh: FTP support
|
||||||
|
- enh: breadcrumb fluent logging
|
||||||
|
- docs: path adjustments
|
||||||
|
- docs: maintenance mode
|
||||||
|
- fix: maintenance mode timeout fixed
|
||||||
|
|
||||||
|
## Stats and Info
|
||||||
|
|
||||||
|
- 359 github stars
|
||||||
|
- ~2000 registered users
|
||||||
|
- ~2700 instances created
|
||||||
|
- ~1.8 million instance invocations to date (# times PocketBase executable has been launched)
|
||||||
|
- ~400 instances active and used in the past week
|
||||||
|
|
||||||
|
Check out the [FAQ](https://pockethost.gitbook.io/manual/overview/faq) and [roadmap](https://pockethost.gitbook.io/manual/overview/roadmap) for more details.
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pockethost",
|
"name": "pockethost",
|
||||||
"version": "0.8.1",
|
"version": "0.8.2",
|
||||||
"author": "Ben Allfree <ben@benallfree.com>",
|
"author": "Ben Allfree <ben@benallfree.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"dev": "tsx watch src/server.ts",
|
"dev": "tsx watch src/server.ts",
|
||||||
"ddos": "NODE_ENV=development tsx watch src/stresser/index.ts",
|
"ddos": "NODE_ENV=development tsx watch src/stresser/index.ts",
|
||||||
"start": "tsx src/server.ts",
|
"start": "tsx src/server.ts",
|
||||||
"pm2": "pm2 del daemon ; pm2 start \"yarn start\" --name=daemon -o ~/logs/daemon.log -e ~/logs/daemon.log",
|
"pm2": "pm2 stop all; pm2 del daemon ; pm2 start \"yarn start\" --name=daemon -l /home/pockethost/logs/daemon.log",
|
||||||
"migrate": "tsx src/migrate/migrate.ts"
|
"migrate": "tsx src/migrate/migrate.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -52,7 +52,10 @@ export const proxyService = mkSingleton(async (config: ProxyServiceConfig) => {
|
|||||||
res.end(`${req.headers.host || `Domain`} was rejected.`)
|
res.end(`${req.headers.host || `Domain`} was rejected.`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
const { warn } = _proxyLogger.create(
|
||||||
|
`${req.method} ${req.headers.host}/${req.url}`
|
||||||
|
)
|
||||||
try {
|
try {
|
||||||
for (let i = 0; i < middleware.length; i++) {
|
for (let i = 0; i < middleware.length; i++) {
|
||||||
const m = middleware[i]!
|
const m = middleware[i]!
|
||||||
@ -67,6 +70,7 @@ export const proxyService = mkSingleton(async (config: ProxyServiceConfig) => {
|
|||||||
res.end(msg)
|
res.end(msg)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
info('daemon on port 3000')
|
info('daemon on port 3000')
|
||||||
|
@ -4,7 +4,13 @@ set -a
|
|||||||
source .env
|
source .env
|
||||||
set +a
|
set +a
|
||||||
|
|
||||||
mv ~/logs/daemon.log ~/logs/daemon-`date +%s`.log
|
LOG_ROOT=/home/pockethost/logs
|
||||||
truncate -s 0 packages/daemon/daemon.log
|
DAEMON_PREFIX=daemon
|
||||||
|
DAEMON_LOG=$LOG_ROOT/$DAEMON_PREFIX.log
|
||||||
|
RESTART_DATE=`date +%s`
|
||||||
|
echo "Server restarted at $RESTART_DATE" >> $DAEMON_LOG
|
||||||
|
mv $DAEMON_LOG $LOG_ROOT/$DAEMON_PREFIX-$RESTART_DATE.log
|
||||||
|
echo "Server started at $RESTART_DATE" >> $DAEMON_LOG
|
||||||
|
chown pockethost:pockethost -R $LOG_ROOT
|
||||||
pkill -f 'pocketbase serve'
|
pkill -f 'pocketbase serve'
|
||||||
yarn pm2
|
yarn pm2
|
Loading…
x
Reference in New Issue
Block a user