Short description: Issue with daemons checking out SVN repository while daemon clone is successful for a Git repository
Environment: Ubuntu 16.04 LTS
Components versions modified on:
phabricator (Sun, Oct 2)
arcanist (Wed, Sep 21)
phutil (Fri, Sep 30)
On a fresh Phabricator install, I have started setting up remote repositories to be observed.
I was successful in setting up a remote repository to be observed with Git, however when attempting to do the same for an SVN repository I encounter the following issue (listing steps to reproduce the issue below):
Reproduction steps:
- Add a new SVN repository in Diffusion tracking a remote repository in Observed mode
- Activate the repository in Diffusion
Expected result:
- The repository should be checked out via daemon activity (this works well for me for a Git remote repository which I have tested in Observe mode)
Actual result:
- The daemon log displays an error, i.e.:
EXCEPTION: (PhutilProxyException) Error while updating the "R<repository_id>" repository. {>} (CommandException) Command failed with error #255!
'<path_to_phabricator>/phabricator/bin/repository' update -- 'R<repository_id>'
- Running
./phabricator/bin/repository update --trace R<repository_id>
provided the following information:
EXCEPTION: (PhutilMissingSymbolException) Failed to load class or interface 'SimpleXMLElement': the class or interface 'SimpleXMLElement' is not defined in the library map for any loaded phutil library.
If you are not a developer, this almost always means that a library is out of date. For example, you may have upgraded phabricator without upgrading libphutil, or vice versa. It might also mean that you need to restart Apache or PHP-FPM. Make sure all libraries are up to date and all services have been restarted.
If you are a developer and this symbol was recently added or moved, your library map may need to be rebuilt. You can rebuild the map by running 'arc liberate'. For more information, see: [...]
I would like to mention the fact that I had not performed any upgrade on phabricator or libphutil or arcanist prior to attempting to perform the check out as per the above comment suggestion. After viewing the above message I decided to try performing updates on all components and restarting apache, but the error was still present (see also note below)
Note: Prior to creating this issue I have upgraded phabricator, libphutil and arcanist to the latest versions.