Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 28 2019 13:52
    zjuchenyuan closed #94
  • Feb 28 2019 13:45
    xmmm233 opened #94
  • Feb 11 2019 05:24
    mieshui commented #86
  • Feb 01 2019 21:00
    mexsser commented #58
  • Feb 01 2019 20:58
    mexsser commented #58
  • Feb 01 2019 10:13
    codecov-io commented #93
  • Feb 01 2019 10:13
    codecov-io commented #93
  • Feb 01 2019 10:13
    codecov-io commented #93
  • Feb 01 2019 10:10
    codecov-io commented #93
  • Feb 01 2019 10:07
    keydam opened #93
  • Jan 31 2019 21:15
    keydam opened #92
  • Jan 25 2019 03:26
    AeroXi commented #49
  • Jan 04 2019 19:46
    ntkomata edited #91
  • Jan 04 2019 19:46
    ntkomata opened #91
  • Dec 24 2018 09:03
    zjuchenyuan commented #90
  • Dec 24 2018 09:01
    QGB commented #90
  • Dec 24 2018 08:58
    QGB opened #90
  • Nov 21 2018 10:55
    zjuchenyuan closed #89
  • Nov 21 2018 10:55
    zjuchenyuan commented #89
  • Nov 21 2018 10:40
    yukeiyang opened #89
Aploium
@aploium
helloworld!
ClarkeCheng
@ClarkeCheng

你好,我想安装原版的zmirror并启用https,但是安装有点问题,安装apache到这里就停住了。可以看看吗?

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.2.3. Set the 'ServerName' directive globally to suppress this message

Aploium
@aploium
请问你的zmirror-onekey是不是最新版的?
旧版存在执行 service apache2 restart 时卡死的问题
表现出来就是你这样
以及, 请不要再用那个 .cf域名了, 我已经准备在readme.md中移除掉.cf域名了
我自己注册了一个, letsencrypt也无法识别
@ClarkeCheng
ClarkeCheng
@ClarkeCheng
我已经不用了,cf域名已经被墙了。所以我买了一个域名。
kylingit
@kylingit
Hello
部署成功了,然后今天执行了 git pull 更新了一下,结果 Youtube 变成 500 了
日志如下
[Sun Oct 09 17:15:33.593711 2016] [wsgi:error] [pid 1619:tid 139914188035840] [17:15:33] [INFO] lru_cache loaded successfully from fastcache
[Sun Oct 09 17:15:33.593773 2016] [wsgi:error] [pid 1619:tid 139914188035840]
[Sun Oct 09 17:15:33.593851 2016] [wsgi:error] [pid 1619:tid 139914188035840] [17:15:33] [INFO] zmirror version: 0.29.4 author: Aploium <i@z.codes>
[Sun Oct 09 17:15:33.593883 2016] [wsgi:error] [pid 1619:tid 139914188035840]
[Sun Oct 09 17:15:33.593968 2016] [wsgi:error] [pid 1619:tid 139914188035840] [17:15:33] [INFO] Github: https://github.com/aploium/zmirror
[Sun Oct 09 17:15:33.593992 2016] [wsgi:error] [pid 1619:tid 139914188035840]
[Sun Oct 09 17:15:33.594100 2016] [wsgi:error] [pid 1619:tid 139914188035840] [17:15:33] [INFO] config file found, mirroring:  www.youtube.com
[Sun Oct 09 17:15:33.594123 2016] [wsgi:error] [pid 1619:tid 139914188035840]
[Sun Oct 09 17:15:33.594274 2016] [wsgi:error] [pid 1619:tid 139914188035840] [17:15:33] [INFO] Local file cache enabled
[Sun Oct 09 17:15:33.594299 2016] [wsgi:error] [pid 1619:tid 139914188035840]
[Sun Oct 09 17:15:33.607460 2016] [wsgi:error] [pid 1619:tid 139914188035840] [17:15:33] [WARNING] Cannot import custom_response_text_rewriter custom_func.py, `custom_text_rewriter` is now disabled(if it was enabled)
[Sun Oct 09 17:15:33.607505 2016] [wsgi:error] [pid 1619:tid 139914188035840]
[Sun Oct 09 17:15:33.607542 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607] mod_wsgi (pid=1619): Target WSGI script '/var/www/youtubePC/wsgi.py' cannot be loaded as Python module.
[Sun Oct 09 17:15:33.607578 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607] mod_wsgi (pid=1619): Exception occurred processing WSGI script '/var/www/youtubePC/wsgi.py'.
[Sun Oct 09 17:15:33.607706 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607] Traceback (most recent call last):
[Sun Oct 09 17:15:33.607744 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607]   File "/var/www/youtubePC/wsgi.py", line 9, in <module>
[Sun Oct 09 17:15:33.607751 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607]     from zmirror.zmirror import app as application
[Sun Oct 09 17:15:33.607762 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607]   File "/var/www/youtubePC/zmirror/zmirror.py", line 2552, in <module>
[Sun Oct 09 17:15:33.607768 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607]     from custom_func import custom_response_text_rewriter
[Sun Oct 09 17:15:33.607778 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607]   File "/var/www/youtubePC/custom_func.py", line 13, in <module>
[Sun Oct 09 17:15:33.607783 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607]     from zmirror import cfg
[Sun Oct 09 17:15:33.607804 2016] [wsgi:error] [pid 1619:tid 139914188035840] [remote x.x.x.x:43607] ImportError: cannot import name 'cfg'
Aploium
@aploium
啊很抱歉....这是因为你的版本是v0.30.0 而我今天把github的版本回滚到了0.29.4, 因为0.30.0现在还不稳定
0.30.0因为有很大的结构改动, 所以配置文件和0.29.4是不兼容的 详见这个iessue: #12
0.30.0的配置如果需要回滚到0.29.4比较麻烦, 最简单的就是把/var/www/youtubePC/more_configs/custom_func_youtube.py复制并替换到/var/www/youtubePC/custom_func.py, 即用旧版配置替换掉新版 @kylingit
kylingit
@kylingit
嗯,替换后没有问题
提一个小小的"笔误"哈,/etc/apache2/sites-enabled/zmirror-google-https.conf 下ServerAdmin 有写错
Youtube 也是,跟运行没有关系,小瑕疵~
zechen11
@zechen11
我安装成功了,但是仍然没办法访问镜像网站,我需要这么查看是哪一部出错了?
This site can’t be reached
google.helikes.net refused to connect.
chrome浏览器报错
Aploium
@aploium
看看apache有没有运行 service apache2 restart @zechen11
zechen11
@zechen11
@aploium default:~$ ps ax|grep apache2
5264 pts/0 S+ 0:00 grep --color=auto apache2
process initialized successfully... httpd is exiting!
[Wed Oct 12 19:26:17.056834 2016] [wsgi:warn] [pid 5190:tid 139840568616832] mod_wsgi: Compiled for Python/3.5.1+.
[Wed Oct 12 19:26:17.057057 2016] [wsgi:warn] [pid 5190:tid 139840568616832] mod_wsgi: Runtime using Python/3.5.2.
[Wed Oct 12 19:26:17.057115 2016] [core:warn] [pid 5190:tid 139840568616832] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 12 19:26:17.060272 2016] [mpm_event:notice] [pid 5190:tid 139840568616832] AH00489: Apache/2.4.23 (Ubuntu) OpenSSL/1.0.2j mod_wsgi/4.5.2 Python/3.5.2 configured -- resuming normal operations
[Wed Oct 12 19:26:17.060310 2016] [core:notice] [pid 5190:tid 139840568616832] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 12 19:26:17.383208 2016] [mpm_event:alert] [pid 5197:tid 139840568616832] (11)Resource temporarily unavailable: AH00480: apr_thread_create: unable to create worker thread
[Wed Oct 12 19:26:19.061292 2016] [mpm_event:alert] [pid 5190:tid 139840568616832] AH02324: A resource shortage or other unrecoverable failure was encountered before any child process initialized successfully... httpd is exiting!
zechen11
@zechen11
这个是重启Apache之后/var/log/apache2/error.log中的
Aploium
@aploium
我也不知道原因.. 看这个A resource shortage or ... 你服务器内存多少? @zechen11
zechen11
@zechen11
额,这个破服务器只有72M内存...
好吧...
Elival
@Elival
...
兄台有想法
imtube
@imtube
hello
EthereumD
@EthereumD
感謝作者 不錯用
seramat
@seramat
感谢作者,很好用
就是youtube不能播放视频,请问大家这个是怎么解决的
我是使用yumun9822的脚本
Xing Qingyu
@xqymain
感谢作者,使用学术不错,youtube我也没法用,不知道怎么解决
Eduarte
@Eduarte16645143_twitter
这个做出来的instagram镜像不能登陆有大佬知道是什么原因吗...
HZoi-WildRage
@HZoi-WildRage
Google 反代的时候https不能完整的开启 出现Mixed Content
Karl Han
@Karl-Han
额...部署后访问域名显示的是apache的界面,并没有谷歌
神楽坂白泠
@Luobogao
那个。。。。
我想请教一下,用zmirror搭mapbox反代的时候,请求mapboxAPI的时候,zmirror把接口URL中的“@”转义成了“%40”,导致404的发生。。。。
想请问一下这种情形应该如何处理 ;w;
hiyu
@hi-yu
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 4h 4min 33s). Updates for this repository will not be applied.
如何解决这个问题
ibelieveczr
@10142904
我碰到一个问题,zmirror会自动将相应头中的“access-control-allow-origin: *”改成“access-control-allow-origin: https://mysite.com”,这样会出现“has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header”错误
这个要如何配置取消自动修改功能,看了config.py没找到如何弄
xinyandev1990
@xinyandev1990
q8507jyo9.bkt.clouddn.com 使用了不受支持的协议。
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
这是为什么呢?没搞明白