0%

群晖

群晖

synology-api项目

synology photos api

参考文献

Synology File Station Official API

linux

群晖linux切换成root sudo -i

anaconda3

参考文献

bug

代码详情
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

[/root/anaconda3] >>>
PREFIX=/root/anaconda3
Unpacking payload ...
concurrent.futures.process._RemoteTraceback:
'''
Traceback (most recent call last):
File "concurrent/futures/process.py", line 384, in wait_result_broken_or_wakeup
File "multiprocessing/connection.py", line 256, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'
'''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "entry_point.py", line 69, in <module>
File "concurrent/futures/process.py", line 559, in _chain_from_iterable_of_lists
File "concurrent/futures/_base.py", line 608, in result_iterator
File "concurrent/futures/_base.py", line 445, in result
File "concurrent/futures/_base.py", line 390, in __get_result
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
[2465] Failed to execute script entry_point

出现这个原因是没有空间了,直接安装到volumn卷

参考文献:stackoverflow

tmux

参考文献

后台运行

参考文献

fail2ban

github仓库

``

mariaDB连接问题

代码详情
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
~$ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 17
Server version: 10.3.29-MariaDB Source distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> use mysql
Database changed
MariaDB [mysql]> update user set host = '%' where user = 'root'
->
-> ;
ERROR 1062 (23000): Duplicate entry '%-root' for key 'PRIMARY'
MariaDB [mysql]> update user set host = '%' where user = 'root';
ERROR 1062 (23000): Duplicate entry '%-root' for key 'PRIMARY'
MariaDB [mysql]> select host,user from user;
+-----------+------+
| host | user |
+-----------+------+
| % | root |
| 127.0.0.1 | root |
| ::1 | root |
+-----------+------+
3 rows in set (0.000 sec)

MariaDB [mysql]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.063 sec)

参考文献

配置gitee ssh

TODO

不能支持rz上传

代码详情
1
2
3
4
5
6
7
8
9
10
(base) ash-4.4# ipkg install install lrzsz^C
(base) ash-4.4# ipkg install lrzsz
Installing lrzsz (0.12.20-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/lrzsz_0.12.20-1_i686.ipk
Configuring lrzsz
Successfully terminated.
(base) ash-4.4# rz
ash: rz: command not found
(base) ash-4.4# sz
ash: sz: command not found

群晖走pc代理

参考文献

photos

photos的登录门户:http://localhost/?launchApp=SYNO.Foto.AppInstance

配置开机自启动

参考文献

安装ipkg进行包管理

使用社区套件

参考文献

图片详情找不到图片(Image not found)

自己安装:参考文献

TODO:升级到dsm7以上之后好像就不能用了?

iptable

防火墙并没有屏蔽美国的ip:参考文献

upnp漏洞

远程

ddns

参考文献

内网穿透

参考文献

远程唤醒

开启windows的ssh

设置某个命令开机自启动

WOL

etherwake -i br-lan 11:22:33:44:55:66

图片详情找不到图片(Image not found)

wol -I 192.168.1.101 11:22:33:44:55:66

图片详情找不到图片(Image not found)

参考文献

魔术包python

魔术包python2

运行clash

参考文献

注意手机不能连访客网络

docker挂了

docker挂了

docker插件

bitwarden密码管理器

运行镜像vaultwarden/server只需要映射80服务端口,和配置文件目录即可

你的配置文件目录:/data

参考文献

邮箱服务

参考文献

群晖docker注册表查询失败的解决办法

  1. 直接通过ssh拉取

参考文献

clash

设置外部访问

  • allow-lan: true: 允许外部链接
  • external-controller: '0.0.0.0:9090': ui监听

bilibili自动工具

ac_time_value: window.localStorage.ac_time_value

问题

会突然停下来是为什么?

跑了一天,突然报错参考issue

看了下chrome的用户凭据,sessdatabili_jctac_time_value这三个值都被刷新了

emby

参考文献

群晖的Quickconnect反向代理

TODO 尝试下能不能直接使用quickconnect代理全部应用

群晖web station 的使用场景

参考文献

安装node

代码详情
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# installs fnm (Fast Node Manager)
curl -fsSL https://fnm.vercel.app/install | bash

# activate fnm
source ~/.bashrc

# download and install Node.js
fnm use --install-if-missing 20

# verifies the right Node.js version is in the environment
node -v # should print `v20.18.0`

# verifies the right npm version is in the environment
npm -v # should print `10.8.2`

参考文献

问题

photos下载的压缩jpeg比原始的还要大