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

录像目录映射后不能回放,但是可以录制新的录像。 #1887

Open
lindong629 opened this Issue Oct 9, 2018 · 6 comments

Comments

Projects
None yet
2 participants
@lindong629

lindong629 commented Oct 9, 2018

Jumpserver版本 1.4.1

  1. [使用FTP挂载录像目录到本地]
    curlftpfs -o codepage=gbk ftp://test:123456@192.168.1.23/replay /opt/jumpserver/data/media/replay

  2. [步骤2]
    录像会存储在FTP服务器的目录下

  3. [步骤3]
    使用luna/replay回放时白屏。
    image

image

  1. [步骤4]
    如果将目录文件copy到本地后回放正常。

curlftpfs -o codepage=gbk ftp://test:123456@192.168.1.23/replay /home/jumpserver/replay

cp -r /home/jumpserver/replay /opt/jumpserver/data/media/

image

  1. [步骤5]
    我有试过通过本地目录进行映射故障依旧存在。(将FTP挂载取消,所有文件存放在/home/jumpserver/replay后进行目录映射)

ln -nsf /home/jumpserver/replay /opt/jumpserver/data/media/

@wojiushixiaobai

This comment has been minimized.

Show comment
Hide comment
@wojiushixiaobai

wojiushixiaobai Oct 10, 2018

Collaborator

@lindong629 验证后无法复现,请检查文件及文件夹权限是否正确

Collaborator

wojiushixiaobai commented Oct 10, 2018

@lindong629 验证后无法复现,请检查文件及文件夹权限是否正确

@lindong629

This comment has been minimized.

Show comment
Hide comment
@lindong629

lindong629 Oct 10, 2018

@wojiushixiaobai > 检查过文件权限都是777.

image

lindong629 commented Oct 10, 2018

@wojiushixiaobai > 检查过文件权限都是777.

image

@lindong629

This comment has been minimized.

Show comment
Hide comment
@lindong629

lindong629 Oct 10, 2018

image
还是白屏
image

文件权限
image

lindong629 commented Oct 10, 2018

image
还是白屏
image

文件权限
image

@lindong629

This comment has been minimized.

Show comment
Hide comment
@lindong629

lindong629 Oct 10, 2018

好像是nginx没有权限读取这个文件,请问如何解决。
image

lindong629 commented Oct 10, 2018

好像是nginx没有权限读取这个文件,请问如何解决。
image

@wojiushixiaobai

This comment has been minimized.

Show comment
Hide comment
@wojiushixiaobai

wojiushixiaobai Oct 10, 2018

Collaborator

@lindong629 nginx的用户改一下试试?

Collaborator

wojiushixiaobai commented Oct 10, 2018

@lindong629 nginx的用户改一下试试?

@lindong629

This comment has been minimized.

Show comment
Hide comment
@lindong629

lindong629 Oct 10, 2018

@wojiushixiaobai 改为root用户运行还是不行。
image

lindong629 commented Oct 10, 2018

@wojiushixiaobai 改为root用户运行还是不行。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment