Code Monkey home page Code Monkey logo

Comments (6)

lins05 avatar lins05 commented on June 14, 2024

Can you provide more details ?

  • What is the operating system ?
  • What steps will reproduce the problem?

from seafile.

pritambaral avatar pritambaral commented on June 14, 2024

OS: Linux

Steps to reproduce:

  • Run setup-seafile.sh
  • Proceed till it asks
    Where do you want to put your seafile data?
  • Supply an already existing, but empty directory

from seafile.

lins05 avatar lins05 commented on June 14, 2024

Seafile data dir is used to store the metadata and file data by the seafile server. The script ensures the seafile data dir the user specifies does not exist yet, so that this directory would be created and used exclusively by seafile.

Is there a particular reason you want to create the directory yourself?

from seafile.

pritambaral avatar pritambaral commented on June 14, 2024

Particular reason:

  1. I don't have admin access on server;
  2. So I ask the admin to install the package and create necessary folders for me (with appropriate permissions.)
  3. I run the setup script as an unprivileged user.

I see the logic of exclusivity behind creating a new directory. My only suggestion is that: if the directory already exists, (but is empty anyway, so exclusivity is satisfied) seafile should gracefully accept it.

from seafile.

lins05 avatar lins05 commented on June 14, 2024

Sounds reasonable. I'll fix it in the next release, and thank you for the feedback.

For a workaround if you need, you can remove the lines 259 through line 263 of setup-seafile.sh to turn off this check.

from seafile.

leafiy avatar leafiy commented on June 14, 2024

have same issue on raspbian-jessie 2017 June, seafile 6.1.1 (2017.06.15)

from seafile.

Related Issues (20)

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.