Comments (5)
Okay, I think I understand better where the problem is. It's completely possible to run with the management interface disabled, but it will need to have been run once to create users in the first place. I'll open a PR to improve the text.
from lfs-test-server.
Hey,
Sorry to hear you've been having trouble. In the README, I see the following text:
If the
LFS_ADMINUSER
andLFS_ADMINPASS
variables are set, a rudimentary admin interface can be accessed viahttp://$LFS_HOST/mgmt
. Here you can add and remove users.
It seems to me that may be a little terse to explain things well, but I read it that you would need to set those options to enable the management interface, and therefore implicitly to create users. Can you help me understand a little bit better where your understanding differs so we can update things to be clearer?
from lfs-test-server.
Well what I was expecting was to be able to use the sample server by just running it with the default credentials.
So passing the default admin and password it should have taken requests for me to do some testing. However this did not work at all and I just got the 401 error message.
I added the environment variables and bingo everything just worked. I thought that the environment variables would only be required if I wanted to customize something about the default server. The readme seems to indicate that it would work without these variables.
Someone new to LFS Server sample might assume that it should work without these settings.
from lfs-test-server.
I don't think there are any default credentials, and I think that's by design, from looking at the code. It looks like you may have been expecting the literal string "unset", but I believe the README means to say that no credentials are set if you don't provide an environment variable.
from lfs-test-server.
Right and I think that is where the confusion comes from. If I just wanted to do a quick install test I would run with all the defaults before I configured it. When I saw "unset" I thought literally. The readme/examples just could be clarified I think to know that these values MUST be set before it can be used (or marked as REQUIRED).
LFS_ADMINUSER # An administrator username, default: unset
LFS_ADMINPASS # An administrator password, default: unset
``
from lfs-test-server.
Related Issues (20)
- getting segmentation violation linux HOT 3
- Store locks on same server for different repos HOT 1
- tusd binary versus importing ? HOT 1
- hi gaizz need help using git lfs trying to upload games to my git pages website HOT 1
- No connection could be made because the target machine actively refused it HOT 1
- How to you set it up HOT 3
- LFS:Put connexion refused HOT 1
- Panic when running latest Mac.AMD64.gz on macOS 10.13.4 (17E202) HOT 10
- First push fails but second succeeds with large files and lfs-test-server HOT 21
- Git lfs ignores lfs url and doesn't push or upload to lfs server HOT 2
- invalid character "\\" in host name HOT 8
- No binaries for v0.4.0 HOT 1
- Return 413 on excessively large batch
- lfs-test-server tricks client into violation of LFS spec HOT 6
- Large file uploads causing 500 error? HOT 3
- > Doisjs
- File lock failed: Repository or object not found HOT 1
- go install does not work HOT 4
- verbose logging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lfs-test-server.