eizedev / AirConnect-Synology

Updated AirConnect packages for Synology NAS and Synology Router
https://github.com/philippe44/AirConnect
MIT License
308 stars 14 forks source link

[BUG] Not sure if compatible with DSM 7 #12

Closed jaspreetsidhu closed 3 years ago

jaspreetsidhu commented 3 years ago

Describe the bug Upon installation on DS1621+ running Beta DSM 7, receive Invalid file format. Please contact developer message. To Reproduce See above Expected behavior Installation to proceed Logfiles

Hardware (Device on which you are running AirConnect-Synology):

Package (which package from the releases page have you downloaded): 0.2.43.0-20201229

eizedev commented 3 years ago

I had a quick look at the DSM7 Beta Developer Guidelines but couldn't see much difference at first glance (page 35 ++). I have to take a closer look at this in more detail. Thanks for testing and reporting the bug.

Reminder for me: DSM 7 Toolkit

Edit: It looks like packages build for dsm6 are not compatible with dsm7, so the error comes from an invalid INFO_FIRMWARE option in the INFO file of the spk packages. I think i need to test this using the beta toolkit...

### Runtime Requirements
If your package is for DSM6 then you should have a DSM6 NAS.
If your package is for DSM7 then you should have a DSM7 NAS.
> Package for DSM6 is not compatible with DSM7

But this means that no other, old package can be installed either.

i-iooi-i commented 3 years ago

I have the same problem, it is not available in version 7.

eizedev commented 3 years ago

Thanks for reporting. The build process for packages in dsm7 (the package structure) has changed, therefore I have to adapt the packages for DSM 7. Since I don't install DSM beta software, it will take some time before I can test it. But in the next weeks I will develop a first test version based on the documentation and make it available here for testing.

j6s33m commented 3 years ago

Thanks for reporting. The build process for packages in dsm7 (the package structure) has changed, therefore I have to adapt the packages for DSM 7. Since I don't install DSM beta software, it will take some time before I can test it. But in the next weeks I will develop a first test version based on the documentation and make it available here for testing.

Will be happy to beta test this for DSM7

fabi86 commented 3 years ago

Same here, available fpr beta test

j6s33m commented 3 years ago

Thanks for reporting. The build process for packages in dsm7 (the package structure) has changed, therefore I have to adapt the packages for DSM 7. Since I don't install DSM beta software, it will take some time before I can test it. But in the next weeks I will develop a first test version based on the documentation and make it available here for testing.

Any updates in the dev of this beta?

eizedev commented 3 years ago

Nothing new yet. But i will share a test version for dsm7 in the next weeks

Spy-1 commented 3 years ago

Today there ist final of DSM 7 out. Any news to reinstall airconnect on final DSM 7 ?

eizedev commented 3 years ago

Sorry, no working version for now. Next weekend I want to take a closer look at it.

kk62 commented 3 years ago

If you don't wanna wait for a DSM7 Package.... go this way via Docker ... goes much easier...and works instantly !! https://techbox.rocks/airconnect-airplay-fuer-aeltere-sonos-boxen-mit-hilfe-von-synology-nas/

regards kk62

TsungShen commented 3 years ago

If you don't wanna wait for a DSM7 Package.... go this way via Docker ... goes much easier...and works instantly !! https://techbox.rocks/airconnect-airplay-fuer-aeltere-sonos-boxen-mit-hilfe-von-synology-nas/

regards kk62

this way can work ! but in the docker container setting, remember go the "network" tab to check the "use the network same docker host"

Spy-1 commented 3 years ago

It does not work for me. Not even if I use the same network as the Docker container.

kk62 commented 3 years ago

Hi Spy-1 .

you must have done something wrong during the docker Installation. Follow the steps as mentioned in the Link: https://techbox.rocks/airconnect-airplay-fuer-aeltere-sonos-boxen-mit-hilfe-von-synology-nas/

when you started the swilsonau/docker-airconnect Image - double click on the image - go to advanced settings - click in the option use same network as docker host. and that it - after that you will see 2 container working in the container area swilsonau/docker-airconnect 1 + swilsonau/docker-airconnect 2.

And in your Mac sound settings you will also see your Airplay devices after this - it works...

1 2 3 4

I hope I could help you this way..

kk62 commented 3 years ago

If you don't wanna wait for a DSM7 Package.... go this way via Docker ... goes much easier...and works instantly !! https://techbox.rocks/airconnect-airplay-fuer-aeltere-sonos-boxen-mit-hilfe-von-synology-nas/ regards kk62

this way can work ! but in the docker container setting, remember go the "network" tab to check the "use the network same docker host"

đź‘Ť :-) Nice that it worked for you...

kk62 commented 3 years ago

...by the way here is the docker hub original source if anybody is interested

https://registry.hub.docker.com/r/swilsonau/docker-airconnect/

eizedev commented 3 years ago

Hi,

Sorry it took so long. I had a look at it for a few hours today and developed a working version for DSM7. I also fixed some existing bugs and would like to ask you, before the version is finally released, to test it on your DSM7 installations. Both programs, aircast and airupnp will now run under the airconnect user. And the complete package will now fully managed from DSM (Before some parts were managed in the startup scripts).

Please give me a short feedback if it works for you and on which NAS you have installed it.

A few more notes on this release:

New

image

Fixed

Download

You can download the pre-release here: dsm7-0.2.50.5

Please UNINSTALL your package first if it is still installed (or marked as repairable) after upgrading to dsm7.

I have tested AirConnect-dsm7-x86-0.2.50.5-20210704.spk and AirConnect-dsm7-x86-64-0.2.50.5-20210704.spk on my devices.

Additional Info

In one of the next releases you can also configure to only start airupnp or aircast (or both of them (Default)) using the package center GUI. But that is not currently included. Also the ip address and the port airupnp will be started on, will be configurable using the GUI.

Example:

image

Edit: The Docker image is also a really really good option. I use a lot of Docker containers myself.

However, since some users can't use Docker on older NAS devices or other people don't want to use it either (or don't understand it) the Synology package is still a good option for everyone else.

You should simply use what fits best for your use case. In the end, it just has to work.

Spy-1 commented 3 years ago

Hi Rene, first of all - it´s working for me (AirConnect-dsm7-x86-64-0.2.50.5-20210704.spk) on a synology DS920+ ! Thank you for your time and the really good work. Waiting anxiously for the release and further development.

btw: the download Path above is not working.

eizedev commented 3 years ago

thanks @Spy-1 Link is fixed.

eizedev commented 3 years ago

Please checkout the newest release 0.2.50.5-20210706 - DSM7 compatible with Compatibility for DSM7, more security and the possibility to view the logfile and the ability to change the airupnp and aircast configuration without SSH access using f.e. the FileStation or SMB/AFS Share Access from your windows/macos/linux client.

It was also backported to DSM6 (tested) and DSM5 (untested), so these devices will also get the new features/fixes.

If this release is working, we can then close this issue.

Spy-1 commented 3 years ago

Working for me! đź‘Ť

Spy-1 commented 3 years ago

Now, having the problem that streaming stops after a few minutes (1 -3)

eizedev commented 3 years ago

@Spy-1 Could you please share the logfile or parts from the logfile? The logfile is now located in /volume1/airconnect/log/airconnect.log. Can also be found by using the FileStation.

Spy-1 commented 3 years ago

Her it is. Happend between 9 an 11 am . Streaming from Iphone via Apple Music to Sonos BĂĽro.

Von: René @.> Gesendet: Freitag, 9. Juli 2021 16:29 An: eizedev/AirConnect-Synology @.> Cc: Spy-1 @.>; Mention @.> Betreff: Re: [eizedev/AirConnect-Synology] [BUG] Not sure if compatible with DSM 7 (#12)

@Spy-1 https://github.com/Spy-1 Could you please share the logfile or parts from the logfile? The logfile is now located in /volume1/airconnect/log/airconnect.log. Can also be found by using the FileStation.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eizedev/AirConnect-Synology/issues/12#issuecomment-877230509 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKTN26BUNVBBNNOYXH375QTTW4BTXANCNFSM4VULEN7Q . https://github.com/notifications/beacon/AKTN26HHF2NZ2SYGMUBHMXTTW4BTXA5CNFSM4VULEN72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGREXTLI.gif

Spy-1 commented 3 years ago

airconnect.log

eizedev commented 3 years ago

@Spy-1

The log file actually shows only a normal behavior in the mentioned time period.

Could you please test this package? It includes on older release of airupnp and aircast: AirConnect-dsm7-x86-64-0.2.50.4-20210711.spk

I don't think the problem is related to our Synology package for DSM7. I could not reproduce the problem on my end either. There could be a problem with the last update of the AirConnect package, then this older version should possibly work.

If this version is also not working, there could be a problem with the "flushing" behaviour of airupnp. Then you need to add --flush to the airupnp startup command. (more information here). I could also build a package for you for testing if the above is not working.

Spy-1 commented 3 years ago

HI Rene, there was a network problem from my switch to the Sonos Boost (broken cable) Now, after repairing this all works fine.

eizedev commented 3 years ago

Since no further problems with the packages for DSM7 have been reported so far, I hereby close this issue. Please open a new issue if you have problems/questions/wishes.