Its not in my var/www/wikidot.
where can i find it?
new one is not working
which contains 6ceab5caa155f6372bfc8a9c38430093dbbac768
this is last sentence for 10 minutes
its not moving
Getting index for pack 14aec81ebc767df1b203a0e8efca812f37148d23
got 6d27660da05c870f128160dfffc3cd5ea3864d81
got 55c5f64b44b75d962728d5134cd71b8dc7923ecf
Getting index for pack 1f95b29398175f0f6ea98ee2918bdb3143dbf1e7
Getting index for pack 49041b680ac3790d834b85c734aa03c0b47737e5
Getting index for pack f338d0bbd46451000fcc1ea36ffc1acf97911353
Getting index for pack 6a70e1c3db4e37947fed742a4a7126cab3623769
Getting index for pack ed2c897a45da317dd0443a483464a225d834cb8d
Getting pack a7a35d2813735c497427d2c6dd1336fecd4c8c5b
which contains 6ceab5caa155f6372bfc8a9c38430093dbbac768
i continued without that, hope it will work :)
as postgres user:
make prepare_db
make: *** No rule to make target ‘prepare_db’. Stop.
You need to wait until all modules are downloaded. This can take quite a time, because we have dependencies, one of which is Zend Framework (about 100 MB)
Piotr Gabryjeluk
visit my blog
Gabrys, I've run into the same error message.
shane@shane-ubuntu-desktop:~/Desktop/wikidot/conf$ su postgres
Password:
postgres@shane-ubuntu-desktop:/home/shane/Desktop/wikidot/conf$ make prepare_db
make: *** No rule to make target `prepare_db'. Stop.
postgres@shane-ubuntu-desktop:/home/shane/Desktop/wikidot/conf$
Any ideas?
And yes I did download something that was more than 90 MB in size (possibly the "Zend Framework"), and am pretty sure I have all dependencies installed without errors.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
You issue make in wrong directory. Do:
$ cd ~/Desktop/wikidot
$ su postgres
Password:
$ make prepare_db
and continue following the instructions.
Piotr Gabryjeluk
visit my blog
Ah, whoops. Thanks, that worked. Was in wrong directory.
Have been held up a bit further down the line now though :S
I've run that, exited (logged out) of the postgres user), and then attempted to run make, however every time I run it I get errors (and the output is so long that I can't see it all because the top part is cut off when I try to scroll up to it).
shane@shane-ubuntu-desktop:~/Desktop/wikidot$ make
bin/bootstrap_db.php files/dump/db/*.sql
PHP Warning: pg_query(): Query failed: ERROR: relation "admin" already exists in /home/shane/Desktop/wikidot/lib/ozone/php/core/database/PgConnection.php on line 104
Error occured at query number 1, file files/dump/db/0-schema.sql:
CREATE TABLE admin (
admin_id integer NOT NULL,
site_id integer,
user_id integer,
founder boolean DEFAULT false
)
bin/generate_om.php
database name: wikidot
----------------------------------------
processing file base-db.xml:
----------------------------------------
table: ozone_lock
table: ozone_session
table: ozone_user
table: ozone_group
table: ozone_permission
table: ozone_user_group_relation
table: ozone_user_permission_modifier
table: ozone_group_permission_modifier
table: unique_string_broker
table: form_submission_key
table: storage_item
----------------------------------------
processing file petition-db.xml:
----------------------------------------
table: petition_campaign
table: petition_signature
----------------------------------------
processing file simpletodo-db.xml:
----------------------------------------
table: simpletodo_list
----------------------------------------
processing file wikidot-db.xml:
----------------------------------------
table: site
table: site_tag
table: category
table: page
table: page_revision
table: page_source
table: page_compiled
table: page_metadata
table: comment
table: comment_revision
table: fts_entry
table: file
table: files_event
table: ucookie
table: page_link
table: page_inclusion
table: page_external_link
table: member
table: admin
table: moderator
table: member_application
table: member_invitation
table: page_edit_lock
table: theme
table: theme_preview
table: license
table: site_settings
table: site_super_settings
table: notification
table: private_message
table: profile
table: user_settings
table: user_karma
table: global_ip_block
table: ip_block
table: global_user_block
table: user_block
table: private_user_block
table: watched_page
table: watched_forum_thread
table: page_abuse_flag
table: user_abuse_flag
table: anonymous_abuse_flag
table: admin_notification
table: log_event
table: contact
table: page_tag
table: page_rate_vote
table: email_invitation
table: membership_link
table: site_backup
table: domain_redirect
table: site_viewer
table: openid_entry
table: api_key
----------------------------------------
processing file wikidot-forum-db.xml:
----------------------------------------
table: forum_group
table: forum_category
table: forum_thread
table: forum_post
table: forum_post_revision
table: forum_settings
table: front_forum_feed
generating classes
generating classes for ozone_lock
generating classes for ozone_session
generating classes for ozone_user
generating classes for ozone_group
generating classes for ozone_permission
generating classes for ozone_user_group_relation
generating classes for ozone_user_permission_modifier
generating classes for ozone_group_permission_modifier
generating classes for unique_string_broker
generating classes for form_submission_key
generating classes for storage_item
generating classes for petition_campaign
generating classes for petition_signature
generating classes for simpletodo_list
generating classes for site
generating classes for site_tag
generating classes for category
generating classes for page
generating classes for page_revision
generating classes for page_source
generating classes for page_compiled
generating classes for page_metadata
generating classes for comment
generating classes for comment_revision
generating classes for fts_entry
generating classes for file
generating classes for files_event
generating classes for ucookie
generating classes for page_link
generating classes for page_inclusion
generating classes for page_external_link
generating classes for member
generating classes for admin
generating classes for moderator
generating classes for member_application
generating classes for member_invitation
generating classes for page_edit_lock
generating classes for theme
generating classes for theme_preview
generating classes for license
generating classes for site_settings
generating classes for site_super_settings
generating classes for notification
generating classes for private_message
generating classes for profile
generating classes for user_settings
generating classes for user_karma
generating classes for global_ip_block
generating classes for ip_block
generating classes for global_user_block
generating classes for user_block
generating classes for private_user_block
generating classes for watched_page
generating classes for watched_forum_thread
generating classes for page_abuse_flag
generating classes for user_abuse_flag
generating classes for anonymous_abuse_flag
generating classes for admin_notification
generating classes for log_event
generating classes for contact
generating classes for page_tag
generating classes for page_rate_vote
generating classes for email_invitation
generating classes for membership_link
generating classes for site_backup
generating classes for domain_redirect
generating classes for site_viewer
generating classes for openid_entry
generating classes for api_key
generating classes for forum_group
generating classes for forum_category
generating classes for forum_thread
generating classes for forum_post
generating classes for forum_post_revision
generating classes for forum_settings
generating classes for front_forum_feed
bin/bootstrap_pages.php files/dump/sites/*
Saving files/dump/sites/profiles/admin.manage.page
Saving files/dump/sites/profiles/how-to-edit-pages.page
Saving files/dump/sites/profiles/nav.side.page
Saving files/dump/sites/profiles/search.site.page
Saving files/dump/sites/profiles/start.page
Saving files/dump/sites/profiles/system.list-all-pages.page
Saving files/dump/sites/profiles/system.page-tags.page
Saving files/dump/sites/profiles/system.recent-changes.page
Saving files/dump/sites/profiles/template.profile.page
Saving files/dump/sites/profiles/what-is-a-wiki.page
Saving files/dump/sites/template-plain/admin.manage.page
Saving files/dump/sites/template-plain/how-to-edit-pages.page
Saving files/dump/sites/template-plain/nav.side.page
Saving files/dump/sites/template-plain/search.site.page
Saving files/dump/sites/template-plain/start.page
Saving files/dump/sites/template-plain/system.list-all-pages.page
Saving files/dump/sites/template-plain/system.page-tags.page
Saving files/dump/sites/template-plain/system.recent-changes.page
Saving files/dump/sites/template-plain/what-is-a-wiki.page
Saving files/dump/sites/www/account.you.page
Saving files/dump/sites/www/admin.manage.page
Saving files/dump/sites/www/admin.superuser.page
PHP Deprecated: Call-time pass-by-reference has been deprecated in /home/shane/Desktop/wikidot/lib/Text_Wiki/Text/Wiki/Parse/Default/Module.php on line 77
PHP Warning: pg_query(): Query failed: ERROR: function set_curcfg(unknown) does not exist
LINE 1: SELECT set_curcfg('default')
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. in /home/shane/Desktop/wikidot/lib/ozone/php/core/database/PgConnection.php on line 104
PHP Fatal error: Uncaught exception 'OzoneDatabaseException' with message 'error: ERROR: function set_curcfg(unknown) does not exist
LINE 1: SELECT set_curcfg('default')
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
' in /home/shane/Desktop/wikidot/lib/ozone/php/core/database/PgConnection.php:107
Stack trace:
#0 /home/shane/Desktop/wikidot/php/utils/Indexer.php(75): PgConnection->query('SELECT set_curc...')
#1 /home/shane/Desktop/wikidot/php/utils/Outdater.php(735): Indexer->indexPage(Object(DB_Page))
#2 /home/shane/Desktop/wikidot/php/utils/Outdater.php(68): Outdater->indexPage(Object(DB_Page))
#3 /home/shane/Desktop/wikidot/php/class/Wikidot/Facade/Page.php(282): Outdater->pageEvent('source_changed', Object(DB_Page))
#4 /home/shane/Desktop/wikidot/bin/bootstrap_pages.php(24): Wikidot_Facade_Page->save(Array)
#5 {main}
thrown in /home/shane/Desktop/wikidot/lib/ozone/php/core/database/PgConnection.php on line 107
make: *** [db] Error 255
After reading up on "man make" I found that I could use -i (ignore errors) and -k (keep going after errors).
When I used those I actually reach the end and am given a URL to configure the super user but it doesn't work (probably something to do with the errors I ignored).
Something about needing to perform type casts in this file: PgConnection.php
If you'd like, I'll post the output for make -i -k … I think there's a huge amount of output for that one though, so by the time it finishes the first part is no longer visible even when I scroll upwards, and I can only copy and paste the second part into a comment here.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Well, I use Debian an duse PostgreSQL 8.3
when i log to postgres and do make i get that error.
can it have something to do with lighttpd because everything else installed without problems
tell me how can I collect more info.
thanks
Did git pull finish successfully? Do you have file Makefile in the directory you try to invoke make prepare_db?
Piotr Gabryjeluk
visit my blog
In wikidot.
I just tested the whole installation procedure and this works for me. Please post step-by-step what you do (start from the very beginning in new directory to be sure there's nothing left from previous tries)
Piotr Gabryjeluk
visit my blog
Sorry, sorry sorry.
when i log as postgres it change directory.
thank you for help, i will try to cotribut to this great tool