Closed homuraLan closed 1 year ago
请提供详细的信息! 宿主机中没有 www-data用户 我在容器中执行了 chown -R www-data /data 但是nexcloud还是没有显示外部存储 我已经开启了相应的插件 我已经将宿主机相应的文件夹设置为所有人都有权限访问 docker-compose 中root用户是我在尝试无果后自行添加的 我发现单容器版本没有nexcloud而我需要使用nexcloud,所以没办法 我发现进行以下映射将会导致容器无法启动 已经尝试过重新启用,或禁用插件,或重启容器
#- /volume1/nextcloud/db:/app/filebrowser.db #- /volume1/ssl:/app/conf/key #- /volume1/docker/ar2:/app/conf
2023-04-23T15:20:37.143030200Z 172.31.0.3 - - [23/Apr/2023:15:20:36 +0000] "GET /apps/dashboard/ HTTP/1.1" 200 12020 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.207716291Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /settings/user/externalstorages HTTP/1.1" 200 14706 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.551831967Z 172.31.0.3 - - [23/Apr/2023:15:20:36 +0000] "GET /cron.php HTTP/1.1" 200 848 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.566504031Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /apps/files_external/js/oauth1.js?v=5a0a6ee2-0 HTTP/1.1" 200 1595 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.566672166Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /apps/files_external/js/settings.js?v=5a0a6ee2-0 HTTP/1.1" 200 10610 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.567152744Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /apps/files_external/js/oauth2.js?v=5a0a6ee2-0 HTTP/1.1" 200 1565 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.572265715Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /apps/files_external/js/public_key.js?v=5a0a6ee2-0 HTTP/1.1" 200 1390 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.774473750Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fuser%2Fexternalstorages HTTP/1.1" 200 1094 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.779833038Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /apps/terms_of_service/terms HTTP/1.1" 200 2783 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.834885562Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1491 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.888038032Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 872 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.932972748Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /apps/files_external/userstorages HTTP/1.1" 200 780 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:37.933461158Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /apps/files_external/userglobalstorages?testOnly=true HTTP/1.1" 200 780 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:39.298688788Z 172.31.0.3 - - [23/Apr/2023:15:20:37 +0000] "GET /cron.php HTTP/1.1" 200 848 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:20:40.241118826Z 172.31.0.3 - - [23/Apr/2023:15:20:36 +0000] "GET /settings/ajax/checksetup HTTP/1.1" 200 2069 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:21:07.859063080Z 172.31.0.3 - - [23/Apr/2023:15:21:07 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 752 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36" 2023-04-23T15:21:38.972703995Z 172.31.0.3 - - [23/Apr/2023:15:21:38 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 752 "-" "Mozill
version: '4.5' services: nextcloud: container_name: nextcloud image: nextcloud:latest user: root environment: - PUID=1026 # bind custom linux user id - PGID=100 # bind custom linux group id volumes: - /volume1/docker/nextcloud:/var/www/html:rw # moutn nextcloud files folder - /volume1/nextcloud/data:/data:rw # mount your personal data folder #restart: always aria2: image: wahyd4/aria2-ui:nextcloud container_name: aria2 ports: - "8068:80" #- "443:443" volumes: - /volume1/nextcloud/ar2:/data # mount your personal data folder # volumes: #- /volume1/nextcloud/db:/app/filebrowser.db #- /volume1/ssl:/app/conf/key #- /volume1/docker/ar2:/app/conf environment: - PUID=1026 # bind custom linux user id - PGID=100 # bind custom linux group id - ENABLE_AUTH=true # enable authentication for aria2 - RPC_SECRET=Hello # aria2 rpc secret # - ARIA2_SSL=false - ARIA2_USER=admin # aria2 login user - ARIA2_PWD=pwd # aria2 login password links: - nextcloud:file-manager #restart: always
我的微信xa8187u 我愿意付费调试
已经自行解决了,感谢大佬
怎么解决的 我也遇到了这个问题
中文版
请提供详细的信息! 宿主机中没有 www-data用户 我在容器中执行了 chown -R www-data /data 但是nexcloud还是没有显示外部存储 我已经开启了相应的插件 我已经将宿主机相应的文件夹设置为所有人都有权限访问 docker-compose 中root用户是我在尝试无果后自行添加的 我发现单容器版本没有nexcloud而我需要使用nexcloud,所以没办法 我发现进行以下映射将会导致容器无法启动 已经尝试过重新启用,或禁用插件,或重启容器
Docker version 20.10.3, build b455053 Linux xxxxx 4.4.180+ #42218 SMP Wed Nov 30 19:34:04 CST 2022 x86_64 GNU/Linux synology_apollolake_918+