FlexHub Forum

FlexHub General => Help / Support => Topic started by: Propaganda on October 14, 2015, 15:09:29

Title: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: Propaganda on October 14, 2015, 15:09:29
Dear Flip Flop,

After updating my synology 1812+ to the beta DSM 6.0, Flexhub is the only package that is not willing to start.
Re-installed the package, and it installs fine. But when you want to run the package it stays in the stopped mode.
Before this was running DMS 5.2 and there were no issues. Now with the 6.0 DSM, Flexhub is the only package that
fails on my NAS.

Any idea what I should be checking to get it running again.
Would hate to go back to Ptokax or similar.

Thanks

Frank
Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: FlipFlop™ on October 14, 2015, 20:37:05
Can you check the content of the following files in the shared folder 'flexhub' :

Debug.log
Error.log
Feed.log

and post the relevant results?
Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: Propaganda on October 15, 2015, 14:50:30
Dear Flip Flop,

Here some more info >> 
 
  [10/14/2015 21:03:37] FlexHub installed succesfully.
  Using /volume1/flexhub for settings and logs storage.

  Installation parameters:
  Hubowner loginname=*******
  Hubowner password=*******
  Port(s)=411

  You can now connect to your hub with a DC client (like ApexDC++).
  To connect using that client, use your NAS IP and the port of the hub.
  For example: dchub://192.168.0.123:411
 
  Note >> The install first could not be done, because of the Trust Level setting for package installation.
  Setting this to allow installation of any publisher would allow me to install.
 
  I think the same issue is causing the software not to want to run. I can press the start button, but the status does not change and it stays "stopped".
 
  I am assuming DSM 6.0 is more strickt in what you are allowed to run and what not.
 
  There are currently 2 certificates installed via the package centre, one from synology inc. and one from synocommunity. You are allowed to import a new
  certificate which from what I can see has a Key Length of 2048 and uses the RSA algorithm.
 
  Does this makes sense Flip Flop?
 
  Here is debug extract:
 
  [Wed Oct 14 10:33:32 2015] Paths set to:
   _APPPATH: /volume1/@appstore/FlexHub/
   _STORAGEDIR: /volume1/flexhub/
   _LOGDIR: /volume1/flexhub/logs/
   _CONFIGDIR : /volume1/flexhub/settings/
   _IMPORTDIR: /volume1/flexhub/import/
   _BACKUPDIR: /volume1/flexhub/backups/
   
   Feed log extract:
   
[2015/10/14 10:32:02] <[xxxx]> [FI] [-1] Stopping hub, please wait...
[2015/10/14 10:32:02] <[xxxx]> [FI] [-3] TCPListen: Thread closed. Stopped listening on clientsockets.
[2015/10/14 10:32:02] <[xxxx]> [FI] [-1] Stopped listening on port: 411.
[2015/10/14 10:32:02] <[xxxx]> [FI] [-1] Disconnected 7 users on port 411.
[2015/10/14 10:32:02] <[xxxx]> [FI] [-1] Hub stopped.
[2015/10/14 10:33:36] <FlexBot> [FI] [-1] Hub started.
[2015/10/14 10:33:36] <FlexBot> [FI] [-1] The FlexHub SecurityBot is now known as [xxx]
[2015/10/14 10:33:36] <[xxxx]> [FI] [-1] The FlexHub OpChat is now known as [xxx]
[2015/10/14 10:33:36] <[xxxx]> [FI] [-1] The FlexHub FeedRoom is now known as [xxx]
[2015/10/14 10:33:36] <[xxxx]> [FI] [-1] Started listening on port: 411. (Regular)
[2015/10/14 10:41:24] <[xxxx]> [FI] [-1] Stopping hub, please wait...
[2015/10/14 10:41:24] <[xxxx]> [FI] [-3] TCPListen: Thread closed. Stopped listening on clientsockets.
[2015/10/14 10:41:25] <[xxxx]> [FI] [-1] Stopped listening on port: 411.
[2015/10/14 10:41:25] <[xxxx]> [FI] [-1] Disconnected 7 users on port 411.
[2015/10/14 10:41:25] <[xxxx]> [FI] [-1] Hub stopped.
Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: Propaganda on October 23, 2015, 08:26:52
Flip flop, any solution for this one?

https://github.com/SynoCommunity/spksrc
Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: FlipFlop™ on November 15, 2015, 19:32:06
Looking at the logs it seems the hub does start normally and users can even connect. After seven minutes it shuts down though.
Were the users able to connect normally, ie: did the login procedure finish normally and did they get access to mainchat and userlist?

There might be something in the 6.0 DSM beta release that kicks in and terminates the hub, I'm not sure.
I'm running DSM 5.2.5644 myself, Flex runs fine there. My NAS runs in a production environment so I'm not taking the risk of using beta versions. As soon as 6.0 reaches full public release I'll have a look at this.

Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: djhammer on March 25, 2016, 12:29:38
Any news about this error? This DSM is official and flexhub is not available.
Please HELP!!!
Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: FlipFlop™ on March 25, 2016, 19:22:30
Working on it, can take a few days.
Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: FlipFlop™ on March 26, 2016, 23:54:56
A new FlexHub package for DSM 6.0 and higher is available now:

http://www.flexhub.org/forum/index.php?action=downloads;sa=view;down=84

WARNING: Before uninstalling an existing FlexHub package, make a backup of the entire shared flexhub folder (usually on volume1) BEFORE uninstalling the package! Due to a bug in the previous uninstall script all settings and the shared folder are removed even when you choose to 'Keep files and shared folder'.
Title: Re: Synology DSM 6.0 Beta - Flexhub 0.2 svn 1469 fails to start
Post by: DKBjorn on March 17, 2019, 16:26:13
A new FlexHub package for DSM 6.0 and higher is available now:

http://www.flexhub.org/forum/index.php?action=downloads;sa=view;down=84

WARNING: Before uninstalling an existing FlexHub package, make a backup of the entire shared flexhub folder (usually on volume1) BEFORE uninstalling the package! Due to a bug in the previous uninstall script all settings and the shared folder are removed even when you choose to 'Keep files and shared folder'.

Still working on...
Model: DS216+
Memory: 8gb
DSM: 6.2.1 -23824 update 6