synology


Missing pyconfig.h while installing a package

*爱你&永不变心* 提交于 2020-01-30 06:43:45
问题 I'm using Python3 (v3.4) add-on on my Synology NAS. When I try to install package (via ssh using python3 setup.py install ) it returns error: invalid Python installation: unable to open /volume1/@appstore/py3k/usr/local/include/python3.4m/pyconfig.h (No such file or directory) When I search the disk for the pyconfig.h file, it finds nothing and the folder ...include/python3.4m doesn't even exist. The problem occurred some time ago (in version 3.3), but I searched the disk, found the pyconfig

Python3 UnicodeEncodeError when run via Synology task scheduler

时光怂恿深爱的人放手 提交于 2020-01-24 14:00:06
问题 I get a Python3 UnicodeEncodeError when I run my script via the Synology task scheduler. I do not get this error when I run the script via the commandline (using PuTTY). Why is this and how can I solve it? Simple test script: import sys print (sys.version) # to confirm the correct Python version print("Fichier non trouvé♠ #M–Nein") # to test non ascii characters test = "Fichier non trouvé♠ #M–Nein" print ("test is " + test) test2 = str(test) # to test if the string function causes and issue

“Algorithm negotiation fail” error in Eclipse when trying to connect by SSH to a personal Git Server

半腔热情 提交于 2020-01-15 18:50:04
问题 I have Eclipse Juno, a Synology Server DS213+ with a Git Server. I'm trying to checkout a project from my Git Server to my workspace and when I use EGit in Eclipse I have this error: org.eclipse.jgit.api.errors.TransportException: ssh://[route]/volume1/Git/project.git: Algorithm negotiation fail at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223) at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159) at org.eclipse.egit.core.op.ListRemoteOperation.run

“Algorithm negotiation fail” error in Eclipse when trying to connect by SSH to a personal Git Server

浪子不回头ぞ 提交于 2020-01-15 18:49:02
问题 I have Eclipse Juno, a Synology Server DS213+ with a Git Server. I'm trying to checkout a project from my Git Server to my workspace and when I use EGit in Eclipse I have this error: org.eclipse.jgit.api.errors.TransportException: ssh://[route]/volume1/Git/project.git: Algorithm negotiation fail at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223) at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159) at org.eclipse.egit.core.op.ListRemoteOperation.run

“Algorithm negotiation fail” error in Eclipse when trying to connect by SSH to a personal Git Server

匆匆过客 提交于 2020-01-15 18:48:04
问题 I have Eclipse Juno, a Synology Server DS213+ with a Git Server. I'm trying to checkout a project from my Git Server to my workspace and when I use EGit in Eclipse I have this error: org.eclipse.jgit.api.errors.TransportException: ssh://[route]/volume1/Git/project.git: Algorithm negotiation fail at org.eclipse.jgit.api.LsRemoteCommand.execute(LsRemoteCommand.java:223) at org.eclipse.jgit.api.LsRemoteCommand.call(LsRemoteCommand.java:159) at org.eclipse.egit.core.op.ListRemoteOperation.run

synology php ftp_ssl_connect - Call to undefined function

不羁的心 提交于 2020-01-15 05:32:39
问题 First time asking a question here, please be gentle :-) I'm writing a PHP command-line script on a Synology box to fetch files via ftps, and start out with this bit: $ftp = ftp_ssl_connect("ftp.example.com"); When run from the command line, I get Fatal error: Call to undefined function ftp_ssl_connect() in ... phpinfo() tells me: ... Registered PHP Streams => php, file, glob, data, http, ftp, https, ftps, zip, compress.zlib, compress.bzip2 Registered Stream Socket Transports => tcp, udp, unix

Synology NAS permissions for web server and FTP

醉酒当歌 提交于 2019-12-25 18:31:34
问题 I'm trying to set up a Synology DS212j with DSM 5.0-4482 as a web server, with FTP access but I'm having permission issues. I manage to get the site up and running, and the SFTP server running. The problem is that I can't write to the server via FTP. I tried giving R/W access to the web-folder to the (local) user connecting via FTP, when I do that I'm able to write to the server, but I can't access the page in the browser. How do I set up permissions to give access both to the web server and

Access synology shared folder from PHP

谁说胖子不能爱 提交于 2019-12-24 07:05:07
问题 I am hosting a web station from my Synology NAS, this creates a folder under - /volume1/web/website . However, i wish to access another shared folder volume1/shared/ from my web page. This shared folder requires authentication which I can access however I am unsure about getting access using a PHP script. 回答1: I'm having the same issue. There is some feedback around, and this article looks like it has an answer: http://forum.synology.com/wiki/index.php/Install_Zina_Media_Server Essentially

PHP Namespace not working - suspected PHP configuration issue

心不动则不痛 提交于 2019-12-13 01:54:00
问题 OK, so, I've been using auto-loaders for a while, become rather used to MVC, and decided to try to tackle namespaces. Well, this hasn't worked as expected. I have managed to reproduce the error in a very simple way, so the contents of my php file read: <?php namespace site\test; echo 'hello'; The output is not what I expected: Fatal error: Namespace declaration statement has to be the very first statement in the script in file on line 2 I'm running PHP 5.3.10 on a Synology NAS, using the

Python at Synology, how to get Python3 modules installed and where is Python2.7 installed?

会有一股神秘感。 提交于 2019-12-07 18:06:57
问题 Can you please advise me how to get Python3 with modules running at my Synology (DS214play, with DSM 6.0.1-7393 Update 1)? What I want: run Tweepy and other modules in Python3 on my Synology. Where I am stuck: how to get PIP3 to install Tweepy, if I try I get: Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages Apparently I have a Python 2.7 installed but I was not aware... root@DiskStation:/volume1/@appstore/python3/include# ls get-pip.py python3.4m root@DiskStation:

工具导航Map