Code Monkey home page Code Monkey logo

go-drive's Introduction

Hi there 👋

go-drive's People

Contributors

dependabot[bot] avatar devld avatar vgbhfive avatar yoech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

go-drive's Issues

onedrive国际版挂载后访问盘出现提示“500 服务器错误”

描述

挂载国际版(A1教育版)后访问onedrive挂载盘出现错误 500 服务器错误,

Error #1: BadRequest: Resource not found for the segment 'v1.0'.

config.yml(修改)

default-lang: zh-CN

proxy-max-size: 0 # 1M

free-fs: true

thumbnail:
  concurrent: 2

search:
  enabled: true

nginx 反代

location /
{

    proxy_pass            http://127.0.0.1:8089; #端口保持一致
    proxy_set_header      Host $host;
    proxy_set_header      X-Real-IP $remote_addr;
    proxy_set_header      X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header      REMOTE-HOST $remote_addr;
    proxy_buffering       off;
    proxy_cache           off;
    proxy_set_header      X-Forwarded-Proto $scheme;
}
	

Azure

除了账户类型选择了仅我的组织外,其他的都安装教程来的。

受支持的帐户类型
[仅我的组织]

Support oss and cos

Hi, is there any plans to add new cloude storages, such as tentcent cos, alibaba oss etc
I'm tring to expand it.

WebDAV已结开启,访问出错

WebDAV已结开启,访问出错。
配置

WebDAV access configuration

web-dav:
enabled: true
prefix: /drive/dav

allow anonymous access?

allow-anonymous: true

访问日志是:
2022/03/02 19:03:48 �[31;1m/home/runner/work/go-drive/go-drive/storage/options.go:92 �[35;1mrecord not found
�[0m�[33m[0.068ms] �[34;1m[rows:0]�[0m SELECT * FROM options WHERE key = "app.name" LIMIT 1

2022/03/02 19:03:48 �[31;1m/home/runner/work/go-drive/go-drive/storage/options.go:92 �[35;1mrecord not found
�[0m�[33m[0.513ms] �[34;1m[rows:0]�[0m SELECT * FROM options WHERE key = "app.name" LIMIT 1

连接客户端配置是:
协议(T):WebDAV
主机(H):127.0.0.1
端口(P):8089
加密(E):使用不安全的HTTP

任务计划

有没有可能实现任务计划功能,定时在盘与盘之间移动复制文件,用来备份或分发证书之类的。

尝试添加 teracloud.jp 的 webdav 出现错误

2023/02/05 10:17:19 [Recovery] 2023/02/05 - 10:17:19 panic recovered:
runtime error: index out of range [0] with length 0
/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/panic.go:113 (0x43bc17)
/home/runner/work/go-drive/go-drive/drive/webdav/index.go:108 (0xe74223)
/home/runner/work/go-drive/go-drive/drive/webdav/index.go:74 (0xe73f03)
/home/runner/work/go-drive/go-drive/drive/root.go:108 (0xe7ed5b)
/home/runner/work/go-drive/go-drive/server/api_admin.go:295 (0x1051fcb)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168 (0x1069fa3)
/home/runner/work/go-drive/go-drive/server/utils.go:156 (0x1069e44)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168 (0x10696f3)
/home/runner/work/go-drive/go-drive/server/utils.go:115 (0x10695c0)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168 (0x10678eb)
/home/runner/work/go-drive/go-drive/server/server.go:108 (0x10678cc)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168 (0x9cfffb)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:241 (0x9cffd8)
/home/runner/work/go-drive/go-drive/server/server.go:166 (0x1067fc3)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168 (0x9d0d0b)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:99 (0x9d0cec)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:168 (0x9cf14f)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:555 (0x9cee38)
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:511 (0x9cea37)
/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:2947 (0x7dfa6b)
/opt/hostedtoolcache/go/1.19.5/x64/src/net/http/server.go:1991 (0x7db4b3)
/opt/hostedtoolcache/go/1.19.5/x64/src/runtime/asm_arm64.s:1172 (0x46ee93)

How to map different folders from two or more drives to individual users?

is there any way possible to map different folders from s3 bucket or assign individual bucket to each user or group?
For Example:
I have one FTP server with specific path for each user, it works well when I configure root path for each user.
but I also want to give access to AWS S3 bucket in which each user will have their own folders visible and accessible to them only.
Or if I create separate bucket for each user and add it as drive and assign it to user or group?
How do both do that?

Thank you

S3 无法上传文件

我绑定了一个桶,可以正常下载,删除,重命名文件
在 Go-drive 内可以新建文件和文件夹,但是上传文件就会提示错误

修改目录权限后,Drive不显示了

这样修改之后

image

列表丢失了

image

手动输入路径进入,报 Error #1: "error.permission_denied"

image

docker-compose.yml

version: '3'
services:
  go-drive:
    image: devld/go-drive:latest
    container_name: go-drive
    ports:
      - 8089:8089
    volumes:
      -  /data/go-drive-data:/app/data
    restart: always
    privileged: true

依赖多个GLIBC版本问题

[root@localhost go-drive_linux_amd64]# ./go-drive 
./go-drive: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./go-drive)
./go-drive: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by ./go-drive)
./go-drive: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./go-drive)
./go-drive: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./go-drive)

objdump -p ./go-drive

版本引用:
  required from libc.so.6:
    0x06969188 0x00 09 GLIBC_2.28
    0x06969194 0x00 08 GLIBC_2.14
    0x0d696914 0x00 07 GLIBC_2.4
    0x069691b3 0x00 06 GLIBC_2.33
    0x069691b2 0x00 05 GLIBC_2.32
    0x09691972 0x00 04 GLIBC_2.3.2
    0x069691b4 0x00 03 GLIBC_2.34
    0x09691a75 0x00 02 GLIBC_2.2.5

go-drive version*:

v0.10.7

uname -a:
Linux localhost.localdomain 3.10.0-1160.el7.x86_64 x86_64 GNU/Linux

在局域网中部署,挂载本地文件,pdf无法正常加载

电脑插互联网网线测试是没问题的,改成插局域网的网线就会出现如下图这种问题,pdf是空白,图片和视频的预览没有问题。
环境:Windows 10 pro x64
运行版本:release 0.8.2 go-drive_windows_amd64
麻烦大佬有空指教一下!感激不尽
1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.