[GH-ISSUE #1042] Assets are not populating. #1815

Closed
opened 2026-03-01 18:36:36 +03:00 by kerem · 6 comments
Owner

Originally created by @BloodBlight on GitHub (Oct 21, 2021).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1042

Describe the bug
Both tracked and un-tracked assets are blank after pulling files.

To Reproduce
Steps to reproduce the behavior:

  1. Deployed docker using:
version: '3.7'

volumes:
  NetBoot-config: 
    external: true
  NetBoot-assets: 
    external: true

services:
  NetBoot:
    container_name: NetBoot
    image: linuxserver/netbootxyz
    environment:
      - PUID=1000
      - PGID=1000
      - PORT_RANGE=30000:30010 #optional
      - SUBFOLDER=/ #optional
    volumes:
      - NetBoot-config:/config
      - NetBoot-assets:/assets #optional
    ports:
      - 3000:3000
      - 69:69/udp
      - 8090:80 #optional
    restart: always
  1. Browsed to port 3000
  2. Downloaded assets
  3. Files are there, but list is empty.
  4. Restarted docker, lists is still empty.

Expected behavior
Downloaded assets should be in the list.

Screenshots
image

Additional context
First time using netboot.xyz.

Component Version
Webapp Version: 0.6.5
Menus Version: 2.0.51
TFTP: tftp-hpa 5.2, with remap, without tcpwrappers
WebServer: nginx version: nginx/1.18.0
Remote Assets at: 2.0.51
Originally created by @BloodBlight on GitHub (Oct 21, 2021). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1042 **Describe the bug** Both tracked and un-tracked assets are blank after pulling files. **To Reproduce** Steps to reproduce the behavior: 1. Deployed docker using: ``` version: '3.7' volumes: NetBoot-config: external: true NetBoot-assets: external: true services: NetBoot: container_name: NetBoot image: linuxserver/netbootxyz environment: - PUID=1000 - PGID=1000 - PORT_RANGE=30000:30010 #optional - SUBFOLDER=/ #optional volumes: - NetBoot-config:/config - NetBoot-assets:/assets #optional ports: - 3000:3000 - 69:69/udp - 8090:80 #optional restart: always ``` 2. Browsed to port 3000 3. Downloaded assets 4. Files are there, but list is empty. 5. Restarted docker, lists is still empty. **Expected behavior** Downloaded assets should be in the list. **Screenshots** ![image](https://user-images.githubusercontent.com/3953102/138362108-f3f096c2-f7d0-498a-b3ba-db2da272546c.png) **Additional context** First time using netboot.xyz. |Component|Version| |----|----| |Webapp Version: | 0.6.5| |Menus Version: | 2.0.51| |TFTP: | tftp-hpa 5.2, with remap, without tcpwrappers| |WebServer: | nginx version: nginx/1.18.0| |Remote Assets at:| 2.0.51|
kerem 2026-03-01 18:36:36 +03:00
Author
Owner

@antonym commented on GitHub (Oct 22, 2021):

Permissions issue with the external volumes setup? I'd make sure that the users and perms line up so that the app can read the contents off the disk.

<!-- gh-comment-id:949628316 --> @antonym commented on GitHub (Oct 22, 2021): Permissions issue with the external volumes setup? I'd make sure that the users and perms line up so that the app can read the contents off the disk.
Author
Owner

@BloodBlight commented on GitHub (Oct 23, 2021):

Everything seems to be set to abc:users:

# find . | xargs ls -l
-rw-r--r-- 1 abc users 258285568 Oct 21 21:19 ./debian-squash/releases/download/2.7.3-19-21f7bd02/filesystem.squashfs
-rw-r--r-- 1 abc users  27606312 Oct 21 21:19 ./debian-squash/releases/download/2.7.3-19-21f7bd02/initrd
-rw-r--r-- 1 abc users   4935744 Oct 21 21:19 ./debian-squash/releases/download/2.7.3-19-21f7bd02/vmlinuz
-rw-r--r-- 1 abc users 264945664 Oct 21 21:27 ./debian-squash/releases/download/2.7.3-19-a90fc92f/filesystem.squashfs
-rw-r--r-- 1 abc users  31067448 Oct 21 21:27 ./debian-squash/releases/download/2.7.3-19-a90fc92f/initrd
-rw-r--r-- 1 abc users   6821216 Oct 21 21:27 ./debian-squash/releases/download/2.7.3-19-a90fc92f/vmlinuz

.:
total 0
drwxr-xr-x 3 abc users 0 Oct 21 21:19 debian-squash

./debian-squash:
total 0
drwxr-xr-x 3 abc users 0 Oct 21 21:19 releases

./debian-squash/releases:
total 0
drwxr-xr-x 4 abc users 0 Oct 21 21:19 download

./debian-squash/releases/download:
total 0
drwxr-xr-x 2 abc users 0 Oct 21 21:19 2.7.3-19-21f7bd02
drwxr-xr-x 2 abc users 0 Oct 21 21:19 2.7.3-19-a90fc92f

./debian-squash/releases/download/2.7.3-19-21f7bd02:
total 284012
-rw-r--r-- 1 abc users 258285568 Oct 21 21:19 filesystem.squashfs
-rw-r--r-- 1 abc users  27606312 Oct 21 21:19 initrd
-rw-r--r-- 1 abc users   4935744 Oct 21 21:19 vmlinuz

./debian-squash/releases/download/2.7.3-19-a90fc92f:
total 295737
-rw-r--r-- 1 abc users 264945664 Oct 21 21:27 filesystem.squashfs
-rw-r--r-- 1 abc users  31067448 Oct 21 21:27 initrd
-rw-r--r-- 1 abc users   6821216 Oct 21 21:27 vmlinuz

All of the files were created using the pull asset function and it is able to create new files. Just not see them.

As perms are set, everyone should be able to read...

<!-- gh-comment-id:950035881 --> @BloodBlight commented on GitHub (Oct 23, 2021): Everything seems to be set to abc:users: ``` # find . | xargs ls -l -rw-r--r-- 1 abc users 258285568 Oct 21 21:19 ./debian-squash/releases/download/2.7.3-19-21f7bd02/filesystem.squashfs -rw-r--r-- 1 abc users 27606312 Oct 21 21:19 ./debian-squash/releases/download/2.7.3-19-21f7bd02/initrd -rw-r--r-- 1 abc users 4935744 Oct 21 21:19 ./debian-squash/releases/download/2.7.3-19-21f7bd02/vmlinuz -rw-r--r-- 1 abc users 264945664 Oct 21 21:27 ./debian-squash/releases/download/2.7.3-19-a90fc92f/filesystem.squashfs -rw-r--r-- 1 abc users 31067448 Oct 21 21:27 ./debian-squash/releases/download/2.7.3-19-a90fc92f/initrd -rw-r--r-- 1 abc users 6821216 Oct 21 21:27 ./debian-squash/releases/download/2.7.3-19-a90fc92f/vmlinuz .: total 0 drwxr-xr-x 3 abc users 0 Oct 21 21:19 debian-squash ./debian-squash: total 0 drwxr-xr-x 3 abc users 0 Oct 21 21:19 releases ./debian-squash/releases: total 0 drwxr-xr-x 4 abc users 0 Oct 21 21:19 download ./debian-squash/releases/download: total 0 drwxr-xr-x 2 abc users 0 Oct 21 21:19 2.7.3-19-21f7bd02 drwxr-xr-x 2 abc users 0 Oct 21 21:19 2.7.3-19-a90fc92f ./debian-squash/releases/download/2.7.3-19-21f7bd02: total 284012 -rw-r--r-- 1 abc users 258285568 Oct 21 21:19 filesystem.squashfs -rw-r--r-- 1 abc users 27606312 Oct 21 21:19 initrd -rw-r--r-- 1 abc users 4935744 Oct 21 21:19 vmlinuz ./debian-squash/releases/download/2.7.3-19-a90fc92f: total 295737 -rw-r--r-- 1 abc users 264945664 Oct 21 21:27 filesystem.squashfs -rw-r--r-- 1 abc users 31067448 Oct 21 21:27 initrd -rw-r--r-- 1 abc users 6821216 Oct 21 21:27 vmlinuz ``` All of the files were created using the pull asset function and it is able to create new files. Just not see them. As perms are set, everyone should be able to read...
Author
Owner

@BloodBlight commented on GitHub (Nov 16, 2021):

Any ideas on what else I can look for?

<!-- gh-comment-id:970684485 --> @BloodBlight commented on GitHub (Nov 16, 2021): Any ideas on what else I can look for?
Author
Owner

@antonym commented on GitHub (Nov 17, 2021):

Only issue I can see are the use of the volumes but mainly because I have not set it up that way before. I would recommend trying to set it up per the instructions on a workstation and see if you can at least get it up and running in the documented way and see if it works at the very least in your environment.

<!-- gh-comment-id:971201798 --> @antonym commented on GitHub (Nov 17, 2021): Only issue I can see are the use of the volumes but mainly because I have not set it up that way before. I would recommend trying to set it up per the instructions on a workstation and see if you can at least get it up and running in the documented way and see if it works at the very least in your environment.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 18, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:997126941 --> @github-actions[bot] commented on GitHub (Dec 18, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@antonym commented on GitHub (Jan 23, 2022):

Closing, no activity.

<!-- gh-comment-id:1019530756 --> @antonym commented on GitHub (Jan 23, 2022): Closing, no activity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1815
No description provided.