HelloZeroNet / HelloZeroNet/ZeroNet

No zeronet.conf available

Aperta
#1,192 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Step 1: Please describe your environment

* ZeroNet version: 0.6.0
* Operating system: NixOS

### Step 2: Describe the problem:

Trying to package zeronet, but cannot start as there is no `zeronet.conf` and there is also no template on how such a file should look like

#### Observed Results:

* zeronet fails to start:

```
- Starting ZeroNet...
ERROR:root:Unhandled exception: [Errno 30] Read-only file system: 'log'
Traceback (most recent call last):
File "/nix/store/3p5qvhnblipf23v4326cg9kg0pph459r-zeronet-0.6.0/bin/.zeronet.py-wrapped", line 19, in main
import main
File "/nix/store/3p5qvhnblipf23v4326cg9kg0pph459r-zeronet-0.6.0/bin/src/main.py", line 32, in
os.mkdir(config.log_dir)
OSError: [Errno 30] Read-only file system: 'log'
Traceback (most recent call last):
File "/nix/store/3p5qvhnblipf23v4326cg9kg0pph459r-zeronet-0.6.0/bin/.zeronet.py-wrapped", line 92, in
main()
File "/nix/store/3p5qvhnblipf23v4326cg9kg0pph459r-zeronet-0.6.0/bin/.zeronet.py-wrapped", line 65, in main
traceback.print_exc(file=open(config.log_dir + "/error.log", "a"))
IOError: [Errno 2] No such file or directory: 'log/error.log'
```

#### Expected Results:

* zeronet should start

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.