x-wrt / x-wrt

This repository is a fork of https://git.openwrt.org/openwrt/openwrt.git
https://x-wrt.com/
Other
702 stars 181 forks source link

MiniDLNA and Ext4 not read files #366

Open filipedonato opened 7 months ago

filipedonato commented 7 months ago

I am using the system "X-WRT 24.01_b202401100738 Mantic" I installed FTP and SAMBA, both are working and reading files from my HD formatted in EXT4. But, I installed miniDLNA and it is not reading the files. It installs and opens, but does not detect the videos. The HD is mounted at the address "/mnt/sda1" and label is "/dev/sda1". When installing the MiniDLNA packages I get the following errors:

*MiniDLNA kmod-sound-core The installed version of package kernel is not compatible, require 5.15.146-1-203cdba2… while 5.15.146-1-fe1f310d… is installed.

*Log MiniDLNA ERROS sysctl: write error: No such file or directory sysctl: write error: No such file or directory Collected errors: pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.146-1-203cdba2860b66912822f806fe13a0e5) for kmod-input-core pkg_hash_fetch_best_installation_candidate: Packages for kmod-input-core found, but incompatible with the architectures configured pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.146-1-203cdba2860b66912822f806fe13a0e5) for kmod-sound-core pkg_hash_fetch_best_installation_candidate: Packages for kmod-sound-core found, but incompatible with the architectures configured resolve_conffiles: Existing conffile /etc/config/minidlna is different from the conffile in the new package. The new conffile will be placed at /etc/config/minidlna-opkg.

*luci-app-minidlna kmod-sound-core The installed version of package kernel is not compatible, require 5.15.146-1-203cdba2… while 5.15.146-1-fe1f310d… is installed.

*luci-app-minidlna ERROS //usr/lib/opkg/info/luci-i18n-minidlna-zh-cn.postinst: .: line 2: can't open '/etc/uci-defaults/luci-i18n-minidlna-zh-cn': No such file or directory Collected errors: pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.146-1-203cdba2860b66912822f806fe13a0e5) for kmod-input-core pkg_hash_fetch_best_installation_candidate: Packages for kmod-input-core found, but incompatible with the architectures configured pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.146-1-203cdba2860b66912822f806fe13a0e5) for kmod-sound-core pkg_hash_fetch_best_installation_candidate: Packages for kmod-sound-core found, but incompatible with the architectures configured After installing, the miniDLNA option appears in the LUCI interface. I can activate and deactivate, including accessing the address 192.168.0.4:8200

mini1 mini2

ptpt52 commented 7 months ago

@filipedonato install kmod is not possible, I think you have to build your firmware from source with your expected kmod packages https://blog.x-wrt.com/docs/build/