Diskussion:Server/SRS1/2017: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
K (PaulRiegel verschob die Seite Diskussion:Server/Jails/SRS1 nach Diskussion:Server/SRS1/2017)
 
(21 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 221: Zeile 221:
</pre>
</pre>


== Upgrade auf Plone&nbsp;4.1-latest ==
== Upgrade von Plone&nbsp;4.0.5 auf Plone&nbsp;4.3.9 FreeBSD Package ==


Reference: [http://docs.plone.org/4/en/manage/upgrading/plone4_minor_upgrade.html Plone 4 Minor Upgrade]
<pre>
<pre>
vi buildout.cfg
To create an instance of Zope using the default location, please run:
---------------------
extends =
  base.cfg
#  versions.cfg
  http://dist.plone.org/release/4.1-latest/versions.cfg
---------------------


./bin/buildout
/usr/local/bin/mkzopeinstance --dir /usr/local/www/Zope213/
chown www:www /usr/local/www/Zope213/var
chown www:www /usr/local/www/Zope213/log


Zope Oberflaeche aufrufen und Datenbank migrieren.
Command-line options to 'mkzopeinstance' are available, and can be
investigated by running 'mkzopeinstance --help'.


Zope instances, created by mkzopeinstance, will not be removed
when the package is deinstalled. You'll have to delete them yourself.


</pre>
If you are not using the default instance location, please use the
desired paths during creation and add this line to /etc/rc.conf:
 
zope213_instances="<INSTANCEDIR>"


[[Benutzer:Matthias Jakobi|Matthias Jakobi]] ([[Benutzer Diskussion:Matthias Jakobi|Diskussion]]) 16:03, 24. Jan. 2017 (CET)
Additional Zope instances have to be added to zope213_instances
separated by a space.


== Upgrade von Plone&nbsp;4.1-latest auf Plone&nbsp;4.2-latest ==
If Zope should get started automatically when the system starts,
please add the following line to /etc/rc.conf:


!!! TEST laeuft
zope213_enable="YES"


Reference:
</pre>
* [http://docs.plone.org/4/en/manage/upgrading/plone4_minor_upgrade.html Plone 4 Minor Upgrade]
* https://buildoutcoredev.readthedocs.io/en/latest/issues.html


Create Zope instance
<pre>
<pre>
/usr/local/Plone/Python-2.6/bin/python bootstrap.py --version=1.5.2 # Nicht wundern, dass anscheinend zc.buildout 1.7.2 installiert wird.
/usr/local/bin/mkzopeinstance --dir /usr/local/www/plone_stura/
mkdir /usr/local/www/plone_stura/var/blobstorage
chown -R www:www /usr/local/www/plone_stura/var
chown www:www /usr/local/www/plone_stura/log
</pre>
 
Das Data.fs liegt in /usr/local/www/plone_stura/var


pkg-static install libxml2 libxslt
In der ./etc/zope.conf kann das Directory des Blobstorage angegeben werden (blob-dir).
<pre>
<zodb_db main>
    # Main FileStorage database
    <filestorage>
      # See .../ZODB/component.xml for directives (sectiontype
      # "filestorage").
      path $INSTANCE/var/Data.fs
      blob-dir $INSTANCE/var/blobstorage
    </filestorage>
    mount-point /
</zodb_db>
</pre>
Informationen ueber weitere Key-Words koennen in der Datei /usr/local/lib/python2.7/site-packages/ZODB/component.xml erfasst werden.


vi buildout.cfg
Nach dem import und upgrade entstehen Fhelermeldung aufgrunder der Anpasssungen. Alle anpassungen unter:
---------------------
# portal_view_customizations
extends =
# Reiter: Content
  base.cfg
# alle markieren und loeschen
# versions.cfg
  http://dist.plone.org/release/4.2-latest/versions.cfg
---------------------


./bin/buildout


Zope Oberflaeche aufrufen und Datenbank migrieren.1
Installiere Addons und update Zope Instanz
<pre>
pkg install py27-pip
pip install webcouturier.dropdownmenu==2.3.1
cd /usr/local/www/plone_stura
./bin/zopectl stop
/usr/local/bin/mkzopeinstance --dir /usr/local/www/plone_stura/
./bin/zopectl start
</pre>
</pre>




[[Benutzer:Matthias Jakobi|Matthias Jakobi]] ([[Benutzer Diskussion:Matthias Jakobi|Diskussion]]) 13:40, 29. Jan. 2017 (CET)
 
[[Benutzer:Matthias Jakobi|Matthias Jakobi]] ([[Benutzer Diskussion:Matthias Jakobi|Diskussion]]) 12:37, 24. Apr. 2017 (CEST)


== Upgrade auf Plone&nbsp;5 ==
== Upgrade auf Plone&nbsp;5 ==
Zeile 285: Zeile 310:
* https://github.com/plone/
* https://github.com/plone/
** https://github.com/plone/Products.CMFPlone
** https://github.com/plone/Products.CMFPlone
== alte Pakete ==
: <code>pkg_info</code>
<pre>
apache22-2.2.26    Version 2.2.x of Apache web server with prefork MPM.
apr-1.4.8.1.5.3    Apache Portability Library
atk-2.8.0          GNOME accessibility toolkit (ATK)
autoconf-2.69      Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203 Wrapper script for GNU autoconf
automake-1.14      GNU Standards-compliant Makefile generator
automake-wrapper-20131203 Wrapper script for GNU automake
bacula-client-5.2.12_3 Network backup solution (client)
bdftopcf-1.0.4      Convert X font from BDF to PCF
bigreqsproto-1.1.2  BigReqs extension headers
bison-2.7.1,1      A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10_5 Bitstream Vera TrueType font collection
cairo-1.10.2_5,2    Vector graphics library with cross-device output support
cmake-2.8.12.1      Cross-platform Makefile generator
cmake-modules-2.8.12.1_1 Modules and Templates for CMake
compositeproto-0.4.2 Composite extension headers
damageproto-1.2.1  Damage extension headers
db41-4.1.25_4      The Berkeley DB package, revision 4.1
db42-4.2.52_5      The Berkeley DB package, revision 4.2
dejavu-2.34        Bitstream Vera Fonts clone with a wider range of characters
dialog4ports-0.1.5_2 Console Interface to configure ports
encodings-1.0.4_1,1 X.Org Encoding fonts
expat-2.1.0        XML 1.0 parser written in C
fixesproto-5.0      Fixes extension headers
font-bh-ttf-1.0.3_1 X.Org Bigelow & Holmes TTF font
font-misc-ethiopic-1.0.3_1 X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_1 X.Org miscellaneous Meltho font
font-util-1.3.0_1  Create an index of X font files in a directory
fontconfig-2.10.95,1 XML-based font configuration API for X Windows
fontsproto-2.1.2    Fonts extension headers
freetype2-2.5.0.1  Free and portable TrueType font rendering engine
gamin-0.1.10_6      A file and directory monitoring system
gdbm-1.11          GNU database manager
gdk-pixbuf2-2.28.2  Graphic library for GTK+
gettext-0.18.3.1    GNU gettext package
glib-2.36.3_1      Some useful routines of C programming (current stable versi
gmake-3.82_1        GNU version of 'make' utility
gnomehier-3.0      A utility port that creates the GNOME directory tree
gobject-introspection-1.36.0_2 Generate interface introspection data for GObject libraries
gperf-3.0.3        Generates perfect hash functions for sets of keywords
graphite2-1.2.4    Rendering capabilities for complex non-Roman writing system
gtk-2.24.19_2      Gimp Toolkit for X11 GUI (previous stable version)
gtk-update-icon-cache-2.24.19 Gtk-update-icon-cache utility from the Gtk+ toolkit
harfbuzz-0.9.19    OpenType text shaping engine
help2man-1.43.3_1  Automatically generating simple manual pages from program o
hicolor-icon-theme-0.12 A high-color icon theme shell from the FreeDesktop project
icu-50.1.2          International Components for Unicode (from IBM)
inputproto-2.3      Input extension headers
intltool-0.50.2    Tools to internationalize various kinds of data files
jasper-1.900.1_12  An implementation of the codec specified in the JPEG-2000 s
jbigkit-1.6        Lossless compression for bi-level images such as scanned pa
jpeg-8_4            IJG's jpeg compression utilities
kbproto-1.0.6      KB extension headers
libICE-1.0.8,1      Inter Client Exchange library for X11
libSM-1.2.2,1      Session Management library for X11
libX11-1.6.2,1      X11 library
libXau-1.0.8        Authentication Protocol library for X11
libXcomposite-0.4.4,1 X Composite extension library
libXcursor-1.1.14  X client-side cursor loading library
libXdamage-1.1.4    X Damage extension library
libXdmcp-1.1.1      X Display Manager Control Protocol library
libXext-1.3.2,1    X11 Extension library
libXfixes-5.0.1    X Fixes extension library
libXfont-1.4.6,1    X font library
libXft-2.3.1        Client-sided font API for X applications
libXi-1.7.2,1      X Input extension library
libXinerama-1.1.3,1 X11 Xinerama library
libXrandr-1.4.2    X Resize and Rotate extension library
libXrender-0.9.8    X Render extension library
libXt-1.1.4,1      X Toolkit library
libcheck-0.9.11    Unit test framework for C
libevent2-2.0.21    API for executing callback functions on events or timeouts
libexecinfo-1.1_3  A library for inspecting program's backtrace
libffi-3.0.13_1    Foreign Function Interface
libfontenc-1.1.2    The fontenc Library
libgcrypt-1.5.3    General purpose crypto library based on code used in GnuPG
libgpg-error-1.12  Common error values for all GnuPG components
libiconv-1.14_1    A character set conversion library
libpthread-stubs-0.3_4 This library provides weak aliases for pthread functions
libsigsegv-2.10    Handling page faults in user mode
libtool-2.4.2_2    Generic shared library support script
libxcb-1.9.3        The X protocol C-language Binding (XCB) library
libxml2-2.8.0_3    XML parser library for GNOME
libxslt-1.1.28_1    The XSLT C library for GNOME
libyaml-0.1.4_2    A YAML 1.1 parser and emitter written in C
lynx-2.8.7.2,1      A non-graphical, text-based World-Wide Web client
lzo2-2.06_1        Portable speedy, lossless data compression library
m4-1.4.17,1        GNU m4
mkfontdir-1.0.7    Create an index of X font files in a directory
mkfontscale-1.1.1  Creates an index of scalable font files for X
p5-Locale-gettext-1.05_3 Message handling functions
p5-XML-Parser-2.41_1 Perl extension interface to James Clark's XML parser, expat
pango-1.34.1_1      An open-source framework for the layout and rendering of i1
pcre-8.33          Perl Compatible Regular Expressions library
perl5-5.16.3_6      Practical Extraction and Report Language
pixman-0.32.4      Low-level pixel manipulation library
pkgconf-0.9.4      Utility to help to configure compiler and linker flags
png-1.5.15          Library for manipulating PNG images
portupgrade-2.4.12,2 FreeBSD ports/packages administration and management tool s
py27-setuptools-2.0.1 Python packages installer
python-2.7_1,2      The "meta-port" for the default version of Python interpret
python2-2_2        The "meta-port" for version 2 of the Python interpreter
python27-2.7.6_1    Interpreted object-oriented programming language
randrproto-1.4.0    Randr extension headers
renderproto-0.11.1  RenderProto protocol headers
ruby-1.9.3.484,1    An object-oriented interpreted scripting language
ruby19-bdb-0.6.6_1  Ruby interface to Oracle Berkeley DB revision 2 or later
ruby19-date2-4.0.19 An alternative date class for Ruby
shared-mime-info-1.1 MIME types database from the freedesktop.org project
sudo-1.8.8          Allow others to run commands as root
tcl85-8.5.15_2      Tool Command Language
tiff-4.0.3          Tools and library routines for working with TIFF images
tmux-1.8_1          A Terminal Multiplexer
unzip-6.0_1        List, test, and extract compressed files in a ZIP archive
vim-lite-7.4.110    Vi "workalike", with many additional features (Lite package
xcb-proto-1.9      The X protocol C-language Binding (XCB) protocol
xcb-util-0.3.9_1,1  A module with libxcb/libX11 extension/replacement libraries
xcb-util-renderutil-0.3.8 Convenience functions for the Render extension
xcmiscproto-1.2.2  XCMisc extension headers
xextproto-7.2.1    XExt extension headers
xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
xineramaproto-1.2.1 Xinerama extension headers
xorg-fonts-truetype-7.7_1 X.Org TrueType fonts
xorg-macros-1.18.0  X.Org development aclocal macros
xproto-7.0.25      X11 protocol headers
xtrans-1.3.2        Abstract network code for X
zsh-5.0.4          The Z shell
</pre>
==  Migration seit 2016-08-26 ==
; Abgebrochen!: mangels Erfolg
https://pentapad.c3d2.de/p/stura-htw-dresden_server_plone_paul

Aktuelle Version vom 25. Februar 2018, 16:22 Uhr

Update auf aktuelle Version von Plone[Bearbeiten]

Um von dem zur Zeit laufenden Plone 4.0.5 auf die Version 4.3.2 (seit 2014-11 4.3.4) upzugraden haben wir uns folgenden Ablauf überlegt.

  1. sollte die aktuelle Ploneinstanz inkl. dem gesammten Jail SRS1 dupliziert werden.
  2. noch ein weiteres jail (neues Plone) anlegen
  3. hier plone aus den Ports installieren (version 4.3.2)
  4. aus dem Duplikat die Daten exportieren per Exportfunktion
  5. import der Daten ins neue Plone
  6. apache umstellen
  7. hat alles geklappt das alte plone einstampfen!
Siehe auch
  • Server/Plone#Installation (Anleitung zur Installation einer neuen eigenständigen Instanz Plone auf FreeBSD, wie es auch bei uns das Szenario sein sollte; Im Übrigen erfolgt die Installation direkt aus den für FreeBSD üblichen Ports, gar "nur" mit fertigen Paketen für pkg (pkgng) und nicht wie aktuell "zusammengebaut".)
Anleitung anderer

Plone startup script[Bearbeiten]

Done!
Server/Jails/SRS1#rc.d scriptingPlone
  • aktuell nur für altes Plone

Problem mit su Meldung: su:Sorry

Lösung noch keine gefunden


#!/bin/sh

# PROVIDE: plone
# REQUIRE: DAEMON
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable plone
#
#
# plone_enable (bool):		Set to "NO" by default,
#                              	Set it to "YES" to enable 
#                              	plone
#
# plone_buildout (str):		The path to plone buildout env
#                              	file (defaults to 
#                              	/usr/local/Plone)
#
# plone_user (str):		The username of the user the daemon will
# 		     	       	run as (defaults to www)
#

. /etc/rc.d

name="plone"
rcvar=`set_rcvar`

load_rc_config $name
eval "${rcvar}=\${${rcvar}:-'NO'}"
plone_buildout=${plone_buildout:-"/usr/local/Plone/zinstance"}
plone_user=${plone_user:-"admin fragen"}

#command="${plone_buildout}/${name}"
#command_interpreter="/bin/sh"

start_cmd="${name}_start"
stop_cmd="${name}_stop"

plone_start()
{
    plone_pid=`pgrep -f "/usr/local/bin/python2.7 ${plone_buildout}"`
    if [ ${plone_pid} ]
        then
	    echo "${name} already running (pid: ${plone_pid})"
        else
            echo "Starting ${name}."
            su ${plone_user} -c "${plone_buildout}/bin/instance start"
    fi

    # ensure the server is started
    plone_pid=`pgrep -f "/usr/local/bin/python2.7 ${plone_buildout}"`
    if [ ${plone_pid} ]
      then
        echo "${name} started."
      else
	echo "${name} could not be started, please check the log files (${plone_buildout}/var/log/)"
    fi 
}


plone_stop()
{
    plone_pid=`pgrep -f "/usr/local/bin/python2.7 ${plone_buildout}"`
    if [ ${plone_pid} ]
	then
	    echo "Stopping ${name}."
	     su ${plone_user} -c "${plone_buildout}/bin/instance stop"
	else
            echo "${name} not running?"
    fi

    # ensure the server is stopped
    plone_pid=`pgrep -f "/usr/local/bin/python2.7 ${plone_buildout}"`
    if [ ${plone_pid} ]
      then
	echo "${name} could not be stopped"
    fi  
}

load_rc_config $name
run_rc_command "$1"

Bug beim Löschen von Kommentaren von Accounts mit Umlauten (oder Ähnliches) im Vor- und Nachname[Bearbeiten]

Kommentare (also Beiträge zu einer Diskussion) von o.g. Accounts machen Problem! Etwa Elisa Löwe erzeugen nachfolgende Fehlermeldung:

Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 47, in call_object
  Module Products.CMFCore.FSPythonScript, line 130, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 13, in deleteDiscussion
   - <FSPythonScript at /Plone/deleteDiscussion used for /Plone/stura/sitzungen/2012/15.-sitzung-stura-2012/antraege/entgelt-fuer-die-nutzung-des-beachvolleyballplatzes/talkback/1340696909>
   - Line 13
  Module Products.CMFDefault.DiscussionItem, line 274, in deleteReply
  Module Products.CMFCore.CMFCatalogAware, line 79, in unindexObject
  Module Products.CMFCore.CatalogTool, line 283, in unindexObject
  Module Products.CMFPlone.CatalogTool, line 292, in uncatalog_object
  Module Products.ZCatalog.ZCatalog, line 553, in uncatalog_object
  Module Products.ZCatalog.Catalog, line 389, in uncatalogObject
  Module Products.PluginIndexes.common.UnIndex, line 295, in unindex_object
  Module Products.PluginIndexes.common.UnIndex, line 163, in removeForwardIndexEntry
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Ergänzend von dem Problem, dass die Kommentare nicht gelöscht werden können, ergibt sich ein weitaus größeres, wohl daraus resultierendes, Problem! Artikel mit solchen Kommentaren können nicht kopiert (auch nicht einmal verschoben) werden. Damn!

Bei einer spontane Recherche stieß ich auf das Thema UnicodeDecodeError. Vielleicht hilft es weiter (ab Version 4.1.5 ;-) ).

Für eine unverzügliche Behebung wäre ich dankbar. :-*

--PaulRiegel (Diskussion) 22:53, 14. Apr. 2013 (UTC)

index.html für stura-dresden.de[Bearbeiten]

Dank und Gruß an den AStA!

<html>
<head>
<meta http-equiv="Content-Type" content="text/html>
<meta charset="utf-8">
</head>
<body>
<p> </p>
<table summary="Übersicht zu den bekannten Studentinnen- und Studentenräten Dresdens" align="center">
<caption>Übersicht zu den zentralen Organen der Studentinnen- und Studentenschaften Dresden</caption> 
<tbody>
<tr>
<th colspan="2" align="center">Organ</th> <th colspan="2" align="center">Hochschule</th>
</tr>
<tr>
<td></td>
<td><a href="http://www.ehs-asta.de/">AStA</a></td>
<td align="right"><a href="http://www.ehs-dresden.de/">EHS Dresden</a></td>
<td></td>
</tr>
<tr>
<td></td>
<td><a href="http://www.ba-dresden.de/de/zentrale-einrichtungen/studentenrat-stura.html">StuRa</a></td>
<td align="right"><a href="http://www.ba-dresden.de/">BA Dresden</a></td>
<td></td>
</tr>
<tr>
<td></td>
<td><a href="http://www.sturahfbkdresden.de/">StuRa</a></td>
<td align="right"><a href="http://www.hfbk-dresden.de/">HfBK Dresden</a></td>
<td></td>
</tr>
<tr>
<td></td>
<td>StuRa</td>
<td align="right"><a href="http://kirchenmusik-dresden.de/">HfKimu Dresden</a></td>
<td></td>
</tr>
<tr>
<td></td>
<td><a href="http://www.hfmdd.de/index.php?id=544">StuRa</a></td>
<td align="right"><a href="http://www.hfmdd.de/">HfM Dresden</a></td>
<td></td>
</tr>
<tr>
<td></td>
<td><a href="http://www.palucca.eu/de/hochschule/gremien.html#c2768">StuRa</a></td>
<td align="right"><a href="http://www.palucca.eu/de/hochschule.html">HfT Dresden</a></td>
<td></td>
</tr>
<tr>
<td align="center"><img alt="Logo StuRa HTW Dresden" src="http://www.stura.htw-dresden.de/stura/ref/oea/cd/cd/logo/convert/max-100.png" /></td>
<td><a href="http://www.stura.htw-dresden.de/">StuRa</a></td>
<td align="right"><a href="http://www.htw-dresden.de/">HTW Dresden</a></td>
<td align="center"><img alt="Logo HTW Dresden" src="http://www.stura.htw-dresden.de/hs/verwaltung/oeffentlichkeitsarbeit/logo/symbol/convert/max-100.png" /></td>
</tr>
<tr>
<td></td>
<td><a href="http://www.stura.tu-dresden.de/">StuRa</a></td>
<td align="right"><a href="http://tu-dresden.de/">TU Dresden</a></td>
<td></td>
</tr>
</tbody>
</table>
<p> </p>
<p>Die <b>Dresdner Studentinnen- und Studentenräte (Dresdner StuRä)</b> sind die Vertretungen der einzelnen <a href="https://de.wikipedia.org/wiki/Studierendenschaft">Studentinnen- und Studentenschaften</a> in der <a href="https://de.wikipedia.org/wiki/Dresden">Stadt Dresden</a>.<br />Der Zusammenschluss basiert auf der freiwilligen  Zusammenarbeit. Der gesetzliche Zusammenschluss zur Zusammenarbeit ist die <a href="http://kss-sachsen.de">Konferenz Sächsischer Studierendenschaften (KSS)</a> als <a href="https://de.wikipedia.org/wiki/Landesstudierendenvertretung">Landesstudierendenvertretung</a>.</p>
<p>Alle Dresdener StruRä können ergänzend auf ihren jeweiligen Seiten nähere Informationen zur Zusammenarbeit bereitstellen. Exemplarisch sei auf die <a href="http://www.stura.htw-dresden.de/weitere/kss/dresdner-sturae/">Seite <i>Studentinnen- und Studentenräte Dresdens</i> vom StuRa HTW Dresden</a> verwiesen.</p>
<p>Für ein Wiki zur Zusammenarbeit wurde die Domain <a href="http://wiki.stura-dresden.de">wiki.stura-dresden.de</a> eingerichtet.</p>
<p> </p>
<p align="right"><small><a href="http://stura-dresden.de">This domain</a> was pwnd by <a href="http://www.stura-dresden.de">StuRa HTW Dresden</a> for providing <a href="https://wikileaks.stura-dresden.de/">a mirror of WikiLeaks by</a> <a href="http://www.stura.tu-dresden.de/">StuRa TU Dresden</a>.</small></p>
</body>
</html>

Upgrade von Plone 4.0.5 auf Plone 4.3.9 FreeBSD Package[Bearbeiten]

To create an instance of Zope using the default location, please run:

/usr/local/bin/mkzopeinstance --dir /usr/local/www/Zope213/
chown www:www /usr/local/www/Zope213/var
chown www:www /usr/local/www/Zope213/log

Command-line options to 'mkzopeinstance' are available, and can be
investigated by running 'mkzopeinstance --help'.

Zope instances, created by mkzopeinstance, will not be removed
when the package is deinstalled. You'll have to delete them yourself.

If you are not using the default instance location, please use the
desired paths during creation and add this line to /etc/rc.conf:

zope213_instances="<INSTANCEDIR>"

Additional Zope instances have to be added to zope213_instances
separated by a space.

If Zope should get started automatically when the system starts,
please add the following line to /etc/rc.conf:

zope213_enable="YES"

Create Zope instance

/usr/local/bin/mkzopeinstance --dir /usr/local/www/plone_stura/
mkdir /usr/local/www/plone_stura/var/blobstorage
chown -R www:www /usr/local/www/plone_stura/var
chown www:www /usr/local/www/plone_stura/log

Das Data.fs liegt in /usr/local/www/plone_stura/var

In der ./etc/zope.conf kann das Directory des Blobstorage angegeben werden (blob-dir).

<zodb_db main>
    # Main FileStorage database
    <filestorage>
      # See .../ZODB/component.xml for directives (sectiontype
      # "filestorage").
      path $INSTANCE/var/Data.fs
      blob-dir $INSTANCE/var/blobstorage
    </filestorage>
    mount-point /
</zodb_db>

Informationen ueber weitere Key-Words koennen in der Datei /usr/local/lib/python2.7/site-packages/ZODB/component.xml erfasst werden.

Nach dem import und upgrade entstehen Fhelermeldung aufgrunder der Anpasssungen. Alle anpassungen unter:

  1. portal_view_customizations
  2. Reiter: Content
  3. alle markieren und loeschen


Installiere Addons und update Zope Instanz

pkg install py27-pip
pip install webcouturier.dropdownmenu==2.3.1
cd /usr/local/www/plone_stura
./bin/zopectl stop
/usr/local/bin/mkzopeinstance --dir /usr/local/www/plone_stura/
./bin/zopectl start


Matthias Jakobi (Diskussion) 12:37, 24. Apr. 2017 (CEST)

Upgrade auf Plone 5[Bearbeiten]

Hilfe! :-D Plone 5 kommt heraus! :-)

Fürs Spielen der neuen Welt gib es auch Instanzen zur Demonstration:

--Paul 14:37, 27. Jan. 2015 (CET)

Quellen zu Plone[Bearbeiten]

alte Pakete[Bearbeiten]

pkg_info
apache22-2.2.26     Version 2.2.x of Apache web server with prefork MPM.
apr-1.4.8.1.5.3     Apache Portability Library
atk-2.8.0           GNOME accessibility toolkit (ATK)
autoconf-2.69       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203 Wrapper script for GNU autoconf
automake-1.14       GNU Standards-compliant Makefile generator
automake-wrapper-20131203 Wrapper script for GNU automake
bacula-client-5.2.12_3 Network backup solution (client)
bdftopcf-1.0.4      Convert X font from BDF to PCF
bigreqsproto-1.1.2  BigReqs extension headers
bison-2.7.1,1       A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10_5 Bitstream Vera TrueType font collection
cairo-1.10.2_5,2    Vector graphics library with cross-device output support
cmake-2.8.12.1      Cross-platform Makefile generator
cmake-modules-2.8.12.1_1 Modules and Templates for CMake
compositeproto-0.4.2 Composite extension headers
damageproto-1.2.1   Damage extension headers
db41-4.1.25_4       The Berkeley DB package, revision 4.1
db42-4.2.52_5       The Berkeley DB package, revision 4.2
dejavu-2.34         Bitstream Vera Fonts clone with a wider range of characters
dialog4ports-0.1.5_2 Console Interface to configure ports
encodings-1.0.4_1,1 X.Org Encoding fonts
expat-2.1.0         XML 1.0 parser written in C
fixesproto-5.0      Fixes extension headers
font-bh-ttf-1.0.3_1 X.Org Bigelow & Holmes TTF font
font-misc-ethiopic-1.0.3_1 X.Org miscellaneous Ethiopic font
font-misc-meltho-1.0.3_1 X.Org miscellaneous Meltho font
font-util-1.3.0_1   Create an index of X font files in a directory
fontconfig-2.10.95,1 XML-based font configuration API for X Windows
fontsproto-2.1.2    Fonts extension headers
freetype2-2.5.0.1   Free and portable TrueType font rendering engine
gamin-0.1.10_6      A file and directory monitoring system
gdbm-1.11           GNU database manager
gdk-pixbuf2-2.28.2  Graphic library for GTK+
gettext-0.18.3.1    GNU gettext package
glib-2.36.3_1       Some useful routines of C programming (current stable versi
gmake-3.82_1        GNU version of 'make' utility
gnomehier-3.0       A utility port that creates the GNOME directory tree
gobject-introspection-1.36.0_2 Generate interface introspection data for GObject libraries
gperf-3.0.3         Generates perfect hash functions for sets of keywords
graphite2-1.2.4     Rendering capabilities for complex non-Roman writing system
gtk-2.24.19_2       Gimp Toolkit for X11 GUI (previous stable version)
gtk-update-icon-cache-2.24.19 Gtk-update-icon-cache utility from the Gtk+ toolkit
harfbuzz-0.9.19     OpenType text shaping engine
help2man-1.43.3_1   Automatically generating simple manual pages from program o
hicolor-icon-theme-0.12 A high-color icon theme shell from the FreeDesktop project
icu-50.1.2          International Components for Unicode (from IBM)
inputproto-2.3      Input extension headers
intltool-0.50.2     Tools to internationalize various kinds of data files
jasper-1.900.1_12   An implementation of the codec specified in the JPEG-2000 s
jbigkit-1.6         Lossless compression for bi-level images such as scanned pa
jpeg-8_4            IJG's jpeg compression utilities
kbproto-1.0.6       KB extension headers
libICE-1.0.8,1      Inter Client Exchange library for X11
libSM-1.2.2,1       Session Management library for X11
libX11-1.6.2,1      X11 library
libXau-1.0.8        Authentication Protocol library for X11
libXcomposite-0.4.4,1 X Composite extension library
libXcursor-1.1.14   X client-side cursor loading library
libXdamage-1.1.4    X Damage extension library
libXdmcp-1.1.1      X Display Manager Control Protocol library
libXext-1.3.2,1     X11 Extension library
libXfixes-5.0.1     X Fixes extension library
libXfont-1.4.6,1    X font library
libXft-2.3.1        Client-sided font API for X applications
libXi-1.7.2,1       X Input extension library
libXinerama-1.1.3,1 X11 Xinerama library
libXrandr-1.4.2     X Resize and Rotate extension library
libXrender-0.9.8    X Render extension library
libXt-1.1.4,1       X Toolkit library
libcheck-0.9.11     Unit test framework for C
libevent2-2.0.21    API for executing callback functions on events or timeouts
libexecinfo-1.1_3   A library for inspecting program's backtrace
libffi-3.0.13_1     Foreign Function Interface
libfontenc-1.1.2    The fontenc Library
libgcrypt-1.5.3     General purpose crypto library based on code used in GnuPG
libgpg-error-1.12   Common error values for all GnuPG components
libiconv-1.14_1     A character set conversion library
libpthread-stubs-0.3_4 This library provides weak aliases for pthread functions
libsigsegv-2.10     Handling page faults in user mode
libtool-2.4.2_2     Generic shared library support script
libxcb-1.9.3        The X protocol C-language Binding (XCB) library
libxml2-2.8.0_3     XML parser library for GNOME
libxslt-1.1.28_1    The XSLT C library for GNOME
libyaml-0.1.4_2     A YAML 1.1 parser and emitter written in C
lynx-2.8.7.2,1      A non-graphical, text-based World-Wide Web client
lzo2-2.06_1         Portable speedy, lossless data compression library
m4-1.4.17,1         GNU m4
mkfontdir-1.0.7     Create an index of X font files in a directory
mkfontscale-1.1.1   Creates an index of scalable font files for X
p5-Locale-gettext-1.05_3 Message handling functions
p5-XML-Parser-2.41_1 Perl extension interface to James Clark's XML parser, expat
pango-1.34.1_1      An open-source framework for the layout and rendering of i1
pcre-8.33           Perl Compatible Regular Expressions library
perl5-5.16.3_6      Practical Extraction and Report Language
pixman-0.32.4       Low-level pixel manipulation library
pkgconf-0.9.4       Utility to help to configure compiler and linker flags
png-1.5.15          Library for manipulating PNG images
portupgrade-2.4.12,2 FreeBSD ports/packages administration and management tool s
py27-setuptools-2.0.1 Python packages installer
python-2.7_1,2      The "meta-port" for the default version of Python interpret
python2-2_2         The "meta-port" for version 2 of the Python interpreter
python27-2.7.6_1    Interpreted object-oriented programming language
randrproto-1.4.0    Randr extension headers
renderproto-0.11.1  RenderProto protocol headers
ruby-1.9.3.484,1    An object-oriented interpreted scripting language
ruby19-bdb-0.6.6_1  Ruby interface to Oracle Berkeley DB revision 2 or later
ruby19-date2-4.0.19 An alternative date class for Ruby
shared-mime-info-1.1 MIME types database from the freedesktop.org project
sudo-1.8.8          Allow others to run commands as root
tcl85-8.5.15_2      Tool Command Language
tiff-4.0.3          Tools and library routines for working with TIFF images
tmux-1.8_1          A Terminal Multiplexer
unzip-6.0_1         List, test, and extract compressed files in a ZIP archive
vim-lite-7.4.110    Vi "workalike", with many additional features (Lite package
xcb-proto-1.9       The X protocol C-language Binding (XCB) protocol
xcb-util-0.3.9_1,1  A module with libxcb/libX11 extension/replacement libraries
xcb-util-renderutil-0.3.8 Convenience functions for the Render extension
xcmiscproto-1.2.2   XCMisc extension headers
xextproto-7.2.1     XExt extension headers
xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
xineramaproto-1.2.1 Xinerama extension headers
xorg-fonts-truetype-7.7_1 X.Org TrueType fonts
xorg-macros-1.18.0  X.Org development aclocal macros
xproto-7.0.25       X11 protocol headers
xtrans-1.3.2        Abstract network code for X
zsh-5.0.4           The Z shell

Migration seit 2016-08-26[Bearbeiten]

Abgebrochen!
mangels Erfolg

https://pentapad.c3d2.de/p/stura-htw-dresden_server_plone_paul