Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwriting edited config.json file #148

Open
Hayo-Tee opened this issue Feb 24, 2025 · 3 comments
Open

Overwriting edited config.json file #148

Hayo-Tee opened this issue Feb 24, 2025 · 3 comments

Comments

@Hayo-Tee
Copy link

I want to modify the AList configuration myself to change access ports and add support for FTP and WebDAV. However, after restarting, the configuration resets and does not save my changes.

{ "force": true, "site_url": "", "cdn": "", "jwt_secret": "*****", "token_expires_in": 48, "database": { "type": "sqlite3", "host": "", "port": 3306, "user": "", "password": "", "name": "", "db_file": "/opt/alist/data.db", "table_prefix": "x_", "ssl_mode": "", "dsn": "" }, "meilisearch": { "host": "http://localhost:7700", "api_key": "", "index_prefix": "" }, "scheme": { "address": "0.0.0.0", "http_port": 85, "https_port": -1, "force_https": false, "cert_file": "", "key_file": "", "unix_file": "", "unix_file_perm": "" }, "temp_dir": "/tmp/alist", "bleve_dir": "/opt/alist/bleve", "dist_dir": "", "log": { "enable": true, "name": "/var/log/alist.log", "max_size": 10, "max_backups": 5, "max_age": 28, "compress": false }, "delayed_start": 0, "max_connections": 0, "max_concurrency": 64, "tls_insecure_skip_verify": true, "tasks": { "download": { "workers": 5, "max_retry": 1, "task_persistant": false }, "transfer": { "workers": 5, "max_retry": 2, "task_persistant": false }, "upload": { "workers": 5, "max_retry": 0, "task_persistant": false }, "copy": { "workers": 5, "max_retry": 2, "task_persistant": false }, "decompress": { "workers": 5, "max_retry": 2, "task_persistant": false }, "decompress_upload": { "workers": 5, "max_retry": 2, "task_persistant": false }, "allow_retry_canceled": false }, "cors": { "allow_origins": [ "*" ], "allow_methods": [ "*" ], "allow_headers": [ "*" ] }, "s3": { "enable": false, "port": 5246, "ssl": false }, "ftp": { "enable": true, "listen": ":21", "find_pasv_port_attempts": 50, "active_transfer_port_non_20": false, "idle_timeout": 900, "connection_timeout": 30, "disable_active_mode": false, "default_transfer_binary": false, "enable_active_conn_ip_check": true, "enable_pasv_conn_ip_check": true }, "sftp": { "enable": false, "listen": ":5222" }, "webdav": { "enable": true, "prefix": "/dav", "auth": true }, "last_launched_version": "v3.42.0 (OpenWrt x86_64)" }

@sbwml
Copy link
Owner

sbwml commented Feb 24, 2025 via email

@Hayo-Tee
Copy link
Author

最新的 luci 源码已经支持 ftp/sftp。ipk 文件将在下一个alist 版本发布后更新。

发自我的iPhone

But webdav? How to configure?

@sbwml
Copy link
Owner

sbwml commented Feb 25, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants