Replies: 9 comments 10 replies
-
nope, |
Beta Was this translation helpful? Give feedback.
-
I have not this is what i have to reproduce... I get connection error... I
think this is because of the https force option being set before s https
cert is made
Pulling image: rejetto/hfs:latest
IMAGE ID [1822495604]: Pulling from rejetto/hfs.
IMAGE ID [43c4264eed91]: Already exists.
IMAGE ID [9ff590c4b6e1]: Pulling fs layer. Downloading 100% of 93 B. Verifying
Checksum. Download complete. Extracting. Pull complete.
IMAGE ID [9c580c71bd25]: Pulling fs layer. Downloading 100% of 3 MB. Verifying
Checksum. Download complete. Extracting. Pull complete.
IMAGE ID [7a7aa684fc25]: Pulling fs layer. Downloading 100% of 989 B. Verifying
Checksum. Download complete. Extracting. Pull complete.
IMAGE ID [30f3a14b812e]: Pulling fs layer. Downloading 100% of 25 MB. Verifying
Checksum. Download complete. Extracting. Pull complete.
Status: Downloaded newer image for rejetto/hfs:latest
*TOTAL DATA PULLED:* 28 MB
Command executiondocker run
-d
--name='RejettoHFS3'
--net='bond0'
--ip='192.168.2.50'
--pids-limit 2048
-e TZ="America/Chicago"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="BMM-Unraid"
-e HOST_CONTAINERNAME="RejettoHFS3"
-e 'HFS_CREATE_ADMIN'=''
-e 'HFS_LOG_ROTATION'='weekly'
-e 'HFS_FORCE_HTTPS'='true'
-e 'HFS_ADMIN_NET'='192.168.2.0/24'
-e 'HFS_VFS'='{"source": "/app/myDisk"}'
-e 'HFS_HTTPS_PORT'='443'
-e 'HFS_PORT'='80'
-e 'HFS_CERT'='/home/hfs/.hfs/self.cer'
-e 'HFS_ERROR_LOG'='/app/logs/error.log'
-e 'HFS_PRIVATE_KEY'='/home/hfs/.hfs/self.key'
-e 'HFS_LOG'='/app/logs/access.log'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:80]/~/admin/'
-l net.unraid.docker.icon='
https://raw.githubusercontent.com/bmartino1/unraid-docker-templates/refs/heads/main/images/rejettohfs.png
'
-v '/mnt/user/appdata/hfs-docker/hfsconf/':'/home/hfs/.hfs':'rw'
-v '/mnt/user/appdata/hfs-docker/certs/':'/app/certs':'rw'
-v '/mnt/user/appdata/hfs-docker/logs/':'/app/logs':'rw'
-v '/mnt/user/Users/':'/app/myDisk':'rw'
--hostname HFS3
--mac-address 02:42:c0:a8:02:D4 'rejetto/hfs:latest'
[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
…On Wed, Nov 6, 2024 at 4:16 PM Massimo Melina ***@***.***> wrote:
nope,
but it would be nice to know more of the problem.
did you look at the console?
—
Reply to this email directly, view it on GitHub
<#801 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BH42CTXUWXFIDRORM2GUUJDZ7KIKLAVCNFSM6AAAAABRJ3C3DWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJXGEZTQNY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
so seeing as i'm getting a conection err lest stop the docekr and see whats in consloe: docekr log as it looks like consol is the same as unraid webui log: 16:22:29 cannot launch browser on this machine >PLEASE< open your browser and reach one of these (you may need a different address)
|
Beta Was this translation helpful? Give feedback.
-
you may be right about the "force https" option. |
Beta Was this translation helpful? Give feedback.
-
so even with removing the https force option same error after using admin interface to make slef signed cert. not sure why it fiales but if i stop and start the docekr it will be fine... seeing as the console give me connection error: this is the unraid docker log whcih apears to be the same data for the console log: 17:23:17 HFS ~ HTTP File Server |
Beta Was this translation helpful? Give feedback.
-
why the empty HFS_CREATE_ADMIN ? |
Beta Was this translation helpful? Give feedback.
-
later i can consider a way to make the certificate at start, |
Beta Was this translation helpful? Give feedback.
-
FYI, your values for log_rotation and "port" are the default one so, at the current time, it's the same if you remove them |
Beta Was this translation helpful? Give feedback.
-
in version 0.55.0-alpha2, HFS will expose an API to create self-signed cert. if you will call |
Beta Was this translation helpful? Give feedback.
-
Thought I'd Ask:
https://github.com/rejetto/hfs/discussions?discussions_q=cert
as I'm not seeing any other discussion on this. Not that important as end user should make this by them selves...
as seen here in the repo readme for Unraid.
https://github.com/bmartino1/hfs-docker/blob/main/README.md
once I have end users enter the admin interface:
Then click on make a self singed certificate. once I get the Certificate saved the docker appears to break. netwrok error for anything hfs from home page to admin interface.
As stop and start of the docker fixes this and then https uses the self-signed certificate.
Is there a docker value that I can run that will generate this at first run?
Beta Was this translation helpful? Give feedback.
All reactions