Extension Upload in v2.16

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

ceej
Posts: 6
Joined: 12 Mar 2020, 20:21

Extension Upload in v2.16

Postby ceej » 04 Aug 2020, 00:38

Hello,
Have been using Smartfox for a couple years. I just updated from v2.14 to v2.16. I can no longer upload extensions via the admin website. In the Extension Manager I can create new folders no problem. But if I click on the new folder, I do not see the orange icons that allow me to upload, delete, etc. I ensured that I do not have an UploadsLock.txt file in my config folder.

I've tested this with upgrading an existing 2.14 server. And tested with a brand new installation with nothing residual from a previous install.

Any idea what I am missing? SmartFox is installed in "c:\Program Files" which wasn't an issue with 2.14.
I do have Corretto Java JRE install on the system(s). But I had left the SmartFoxServer_2X\jre folder in place.

Thanks for your help,
Chris
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Extension Upload in v2.16

Postby Lapo » 04 Aug 2020, 05:38

Hi,
under "Program Files" Windows typically doesn't give you write permissions, so that's a problem. However you should see the orange icons regardless, then get an error when SFS2X tries to upload the file(s). Is this what is happening?

Also what browser are you using? Also what Windows version?

Finally have you checked the server logs? There may be indications of what the problem is.
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
ceej
Posts: 6
Joined: 12 Mar 2020, 20:21

Re: Extension Upload in v2.16

Postby ceej » 04 Aug 2020, 16:48

Primarily using Windows 2016 (a few test servers). But have also tried Windows 10(v1903/v2004) with the same result. I also have one Linux box and the functionality works fine on that thing.

Browser: Latest MS Edge, Chrome, Firefox. All get same results
My systems are not on an AD domain so don't have any whacky security settings. And I'm the admin on them.
Accessing the site via port 8080
I see the orange Add icon when I click on the root extensions folder. I can add subfolders. But when I click on a subfolder, I don't see any orange icons.

Here is what I've tried
1) Added Everyone/modify to security settings on c:\program files\SmartFoxServer_2X\SFS2X\extensions. Restarted. Didn't change anything
2) Uninstalled and reinstalled into c:\SmartFoxServer_2X. Same results
3) Uninstalled and reinstalled into the default c:\users\username\SmartFoxServer_2X folder. Same results there too.
4) Stood up a basic Win10 box without Corretto Java just to make sure that wasn't contributing. Basic/default install of SFS. Same thing. Yeah , deleted the UploadsLock.txt

In all those instances, 2.14 is able to upload no problem before I patch it up to 2.16.

The boot log doesn't seem to have anything interesting. Nor the run log
04 Aug 2020 | 09:31:12,314 | INFO | main | bootLogger | | SmartFoxServer 2X
04 Aug 2020 | 09:31:12,314 | INFO | main | bootLogger | | BitSwarmEngine version: 3.70.0 { main }
04 Aug 2020 | 09:31:12,314 | INFO | main | bootLogger | | System Info:
Processor(s): 2
VM Max. memory: 952MB
os.name: Windows 10
os.arch: amd64
os.version: 10.0
java.version: 1.8.0_222
java.vendor: AdoptOpenJDK
java.vendor.url: http://java.oracle.com/
java.vm.specification.version: 1.8
java.vm.version: 25.222-b10
java.vm.vendor:
java.vm.name: OpenJDK 64-Bit Server VM
java.io.tmpdir: C:\Windows\TEMP\
Default charset: UTF-8

04 Aug 2020 | 09:31:12,329 | INFO | main | bootLogger | | Network Info:
Card: Software Loopback Interface 1
->127.0.0.1
->0:0:0:0:0:0:0:1
Card: Intel(R) PRO/1000 MT Desktop Adapter
->10.0.2.15
->fe80:0:0:0:6955:3d76:f9c2:72b6%eth0
Card: Microsoft 6to4 Adapter
Card: Microsoft IP-HTTPS Platform Adapter
Card: Microsoft Kernel Debug Network Adapter
Card: Microsoft Teredo Tunneling Adapter
Card: Intel(R) PRO/1000 MT Desktop Adapter-WFP Native MAC Layer LightWeight Filter-0000
Card: Intel(R) PRO/1000 MT Desktop Adapter-QoS Packet Scheduler-0000
Card: Intel(R) PRO/1000 MT Desktop Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000

04 Aug 2020 | 09:31:12,329 | INFO | main | bootLogger | | Session manager ready: com.smartfoxserver.bitswarm.sessions.DefaultSessionManager@51e69659
04 Aug 2020 | 09:31:12,377 | INFO | main | bootLogger | | TCP Selector opened
04 Aug 2020 | 09:31:12,392 | INFO | main | bootLogger | | UDP Selector opened
04 Aug 2020 | 09:31:12,392 | INFO | main | bootLogger | | AcceptSelector opened
04 Aug 2020 | 09:31:12,408 | INFO | main | bootLogger | | Added bound tcp socket --> 0.0.0.0:9933
04 Aug 2020 | 09:31:12,422 | INFO | main | bootLogger | | Added bound udp socket --> 127.0.0.1:9933
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | Controller started: com.smartfoxserver.v2.controllers.v290.SystemReqController
04 Aug 2020 | 09:31:12,423 | INFO | Scheduler1-thread-1 | bootLogger | | Scheduler started: scheduler
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | Controller started: com.smartfoxserver.v2.controllers.v290.ExtensionReqController
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | Controller started: com.smartfoxserver.v2.controllers.v290.SmasherReqController
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | SocketWriter v3 started (TCP pool size: 3, UDP pool size: 3
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | Security Manager started
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | DatagramReader started
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | IOHandler: com.smartfoxserver.v2.protocol.SFSIoHandler@7e057f43
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | SocketReader started
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | SocketAcceptor initialized
04 Aug 2020 | 09:31:12,423 | INFO | main | bootLogger | | [[[ ===--- Boot sequence complete ---=== ]]]

Not sure what else to try.
Thx for your help
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Extension Upload in v2.16

Postby Lapo » 05 Aug 2020, 08:31

Thanks.
I was able to reproduce the issue on a Windows 10 machine. We'll look into it and release an update as soon as possible.

I will post updates here, when available.
Lapo

--

gotoAndPlay()

...addicted to flash games
ceej
Posts: 6
Joined: 12 Mar 2020, 20:21

Re: Extension Upload in v2.16

Postby ceej » 05 Aug 2020, 14:53

Cool, thank you Lapo
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Extension Upload in v2.16

Postby Bax » 12 Aug 2020, 13:30

We have found the bug and fixed it. We will distribute the new version soon, in the next SFS2X patch.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 90 guests