Comments (8)
也遇到了这个错误
from hexo.
我沒用過rsync,有人可以說明一下使用方式嗎?
from hexo.
虽然我也不太懂,不过手动 rsync 成功了,rsync -avz --delete public/ [email protected]:/home/wwwroot/hexo/
应该是 rsync.js 最后的命令部分格式有些问题
from hexo.
我之後照這格式重寫試試看
from hexo.
我没加入 exclude 和 port 那两个部分,而且 rsync 2.6 以后好像不用 -e ssh 了,本身就会调用 ssh
from hexo.
使用rsync的格式
rsync -avz -e 'ssh -p 22' public/ [email protected]:/home/octopress
from hexo.
仍然有问题,配置如下:
deploy:
type: rsync
host: 211.153.x.x
user: root
root: /home/octopress
port: 23525
报错如下:
Syncing.
ssh: connect to host 211.153.33.13 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [sender=2.6.9]
貌似配置的port没有生效。
from hexo.
0.4.2更新,port應該可以生效了,只是會有個缺點,畫面輸出不會同步更新,可能會在rsync全部執行完後畫面才出現內容
from hexo.
Related Issues (20)
- Parsing error for code blocks in list items HOT 2
- The "#" character is not supported in file names, which may result in the path not being found. HOT 5
- Better support for three party highlight plugins HOT 1
- "post_link" tag doesn't work HOT 2
- Code blocks in HTML comments were incorrectly converted HOT 2
- hexo g is truncated by {# HOT 2
- 编译后,发布时多了一个不存在的空文件 HOT 4
- md生成的文件如果不带.html扩展名,会导致nginx中的mine.types文件配置无法匹配,会默认default_type,自有服务器可以更改成text/html,但是如果发布到github pages里面就会出现刷新页面,下载该页面的
- why themes folder is empty? 为何 themes 文件夹下没有文件? HOT 1
- 对于无序列表中的代码块渲染出错 HOT 1
- Deployment is taking too much time HOT 9
- [FEATURE REQUEST] sort the tags and categories by alphabet
- Hexo install with pnpm report errors, but yarn not. HOT 1
- 页面全部变成黑白的,毫无预兆的,图片或者按钮或者装饰,整个页面变成黑白的。但是各个组件都正常工作 HOT 1
- Add `:path` as a valid permalink component? HOT 1
- Theme apply process optimization HOT 1
- hexo 7.2: Error: Cannot find module 'hexo-util/dist/spawn' HOT 1
- .j2 file in code_dir causing rendering error HOT 5
- `include_code` tag is broken in Hexo 7.2.0 HOT 3
- Can't find theme when deploying hexo on github pages HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo.