Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.
Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.
Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier
DiskStation> sh S99ffsync.sh start
start Firefox Sync Server
S99ffsync.sh: line 37: /usr/local/server-full/bin/paster: not found
S99ffsync.sh: line 37: /usr/local/server-full/development.ini: Permission denied
ipkg install py27-mercurial py27-setuptools python27 make gcc git
cd /opt/bin/
ln -s /opt/bin/python2.7 python
ln -s /opt/bin/pydoc-2.7 pydoc
ln -s /opt/bin/easy_install-2.7 python
cd ~
easy_install virtualenv
vi .profile
PATH=$PATH:/opt/local/bin
vi /etc/profile
PATH=$PATH:/opt/local/bin
exit
mkdir /usr/local/server-full -p
cd /usr/local/server-full
git clone [url]https://github.com/mozilla-services/syncserver[/url]
cd syncserver
make build
vi /usr/local/server-full/syncserver/syncserver.ini
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5100
[app:main]
use = egg:syncserver
[syncserver]
# This must be edited to point to the public URL of your server,
# i.e. the URL as seen by Firefox.
public_url = http://[mydomain.com]:5100/
# This defines the database in which to store all server data.
#sqluri = sqlite:////volume1/web/ffsync/sync.db
sqluri = pymysql://[username]:[password]@localhost/[databasename]
mkdir /volume1/web/ffsync -p
touch /usr/local/etc/rc.d/ffsync.sh && chmod 755 /usr/local/etc/rc.d/ffsync.sh
vi /usr/local/etc/rc.d/ffsync.sh
#!/bin/sh
#
stop() {
echo "stop Firefox Sync Server"
kill `cat /var/run/ffsync.pid` && rm /var/run/ffsync.pid
}
start() {
echo "start Firefox Sync Server"
/usr/local/server-full/syncserver/local/bin/pserve /usr/local/server-full/syncserver/syncserver.ini &
echo $! >/var/run/ffsync.pid
}
case $1 in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 1
start
;;
*)
echo "usage: $0 { start | stop | restart }" >&2
exit 1
;;
esac
reboot
ln -s /opt/bin/easy_install-2.7 python
ln -s /opt/bin/easy_install-2.7 easy_install
unable to execute '/usr/local/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-ccache-gcc': No such file or directory
error: command '/usr/local/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-ccache-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/local/server-full/syncserver/local/bin/python2 -c "import setuptools, tokenize;__file__='/usr/local/server-full/syncserver/local/build/umemcache/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-gAmChi-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/server-full/syncserver/local/include/site/python2.7 failed with error code 1 in /usr/local/server-full/syncserver/local/build/umemcache
Storing debug log for failure in /root/.pip/pip.log
make: *** [local/COMPLETE] Error 1
make build
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.