-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ps3netsrv: Update to v1.47.46e with ps3netsrv 20240210a #6090
Conversation
Updated the variables found on "spksrc/spk/ps3netsrv" and " spksrc/cross/ps3netsrv" to match the current version (v1.47.46b with ps3netsrv 20240210) of aldostools's ps3netsrv
@hgy59 Can everything be merged in the next commit now that I have created a dedicated branch? |
I can see an official release 1.47.46 in https://github.com/aldostools/webMAN-MOD/tags |
@hgy59 when I was working on this commit the version was 1.47.46b, even if the code should be the same the tar.gz could have different md5, I'll make some checks and see if everything it's okay. Just to be as precise as possible I would in any case update the comment and description, if so I think that this pull request should be closed and recreated again, right? |
@Hirador, opening a new PR for version changes isn't always necessary. You can simply update the PR description and the change log to reflect the current versions being committed. This approach not only saves time but also makes it easier for reviewers to track minor changes like version updates, rather than reviewing a new PR from scratch. |
@mreid-tt With a little support it shouldn't be a problem, i'll work on it today :D |
Makefile updated so to meet requirements for the redesigned shared folder handling
ps3netsrv.conf updated so to meet requirements for the redesigned shared folder handling
service-setup.sh updated so to meet requirements for the redesigned shared folder handling
install_uifile so to meet requirements for the redesigned shared folder handling
install_uifile_fre updated so to meet requirements for the redesigned shared folder handling
install_uifile_rus updated so to meet requirements for the redesigned shared folder handling
adjusted "step_title"
Fixed syntax error found in Fixed install_uifile
Fixed syntax error found in install_uifile_fre
Fixed syntax error found on install_uifile_rus
@mreid-tt @hgy59 I've made the required changes, please check everything out to be sure that i've made them properly (May have missed the DSM version check, don't know if it is mandatory in my case). If everything is fine I'll test the .spk on my DiskStation DS414slim (Marvell Armada 370) with DSM 7.1.1 later today, if you could test it on DSM 5.X , 6.X, and SRM 1.X it would be great! |
adjusted sed funztion
@Hirador great work! I did some brief testing under DSM6 and this release definitely fixes a share issue with the existing release. When I install the existing release I get the following error:
As a result, the PS3 share is not created. Interestingly enough, the app seems to run fine but I have no way to test beyond this:
The challenge is that when you try to upgrade with this version it fails because of the missing share:
While I don't see a specific error message, there is a dialog presented in DSM that the update failed and the app it put in a repair state. For existing users, I expect this will be a rare scenario since some folder should exist otherwise the app wouldn't work for them. In either case, a complete uninstall a re-install with the new version had the folder created successfully:
An in-place upgrade over the new version was also successful so on the surface everything looks good to me under DSM6. And as always, the service log is very minimal:
|
@hgy59 did you manage to check up everything so to proceed in merging? |
The migration of With the default share "PS3" the etc/installer-variables file looks like this: former package version:
new installation of new version:
upgrade from former to new version:
As we can see, the AFAICR this was fixed by @mreid-tt for some other packages... EDIT: |
package upgrade on DSM 6 fails ❗ The issue with etc/installer-variable reported above occurs with DSM 7 (tested with DSM 7.2.1-69057 Update 5). On DSM 6.2.4 the package upgrade from former version fails. (on DSM 6 there is no "Repair" button provided). The /var/log/messages file reports an error
That must be related to the package upgrade since a new installation on DSM 6.2.4 works. REMARKS: |
It's been a while since I've worked on this. Perhaps #5962 may have some hints of how to resolve this? |
@mreid-tt after testing with cops, I can tell that cops package provides a dialog in upgrade wizard for the share name, when installer-variables for share are not already populated. For cops since 1.5.4-9 the installer variables SHARE_NAME and SHARE_PATH are added. until cops 1.4.2-7 the installer-variables file contained On DSM 6.2.4 I was able to get the error Further information on shared folder migration can be found in the discussions of #5968 ps3netsrv on DSM 6.2.4:This is really a mess: For DSM 6 I propose to always show the upgrade wizard page for the share (or we have to correctly populate the variable todo: analysis for DSM 7 |
will be fixed with #6163 |
… ps3netsrv-update
- add upgrade page to configure shared folder when not recoverable from former installation - inspired by spk/sabnzbd/src/wizard/upgrade_uifile.sh but with priority on package config over installer-variables - correct the installer-variables file defining SHARE_PATH="name of the shared folder" on package updates - fixes DSM 6 update error "Failed to acquire resource after install ps3netsrv"
Interesting, with the change you just made with #6163, does it resolve the issue with COPS as well? Should a new version be published? |
There is currently no issue in cops. The main reason that cops does not have this issue is the initialization of the But there might be an issue in sabnzb Other packages with shared folders don't have an upgrade wizard (at least none with optional shared folder configuration) but I didn't hear about upgrade issues for those. so far..
|
No worries, I was planning to just keep English for future releases. But If you wish me to migrate to wizard_templates anyway just give me an example and I'll try to figure it out as soon as I can |
@hgy59 Let me know how we can proceed |
Update to v1.47.46e with ps3netsrv 20240210a for DSM's versions: DSM-6.2.4 -> DSM-7.1
Description
spksrc/spk/ps3netsrv
andspksrc/cross/ps3netsrv
to match the current version (v1.47.46e with ps3netsrv 20240210a) of aldostools's ps3netsrvChecklist
all-supported
completed successfullyType of change